tpm_tracesetminres

AutoCAD Map 3D AutoLISP

Up a level
tpm_tracesetminres
 
 

Sets minimum resistance for the shortest path algorithm.

(tpm_tracesetminres trace_id minres)

Returns T or nil.

trace_id Tracing model ID (real), returned from tpm_tracealloc
minres Minimum accumulated allowed path resistance (real)

This function sets an accumulated resistance value for path tracing. For the shortest path trace to succeed, the total calculated resistance cannot be greater than the value set for the maximum resistance or less than the value set for the minimum resistance. See tpm_tracesetmaxres. See tpm_traceshort.