tpm_tracesetmaxres

AutoCAD Map 3D AutoLISP

Up a level
tpm_tracesetmaxres
 
 

Sets maximum resistance for the shortest path algorithm .

(tpm_tracesetmaxres trace_id maxres)

Returns T or nil.

trace_id Tracing model ID (real), returned from tpm_tracealloc
maxres Maximum allowed accumulated 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_tracesetminres. See tpm_traceshort.