tpm_tracebestrouteval

AutoCAD Map 3D AutoLISP

Up a level
tpm_tracebestrouteval
 
 

Calculates the resistance of the best route.

(tpm_tracebestrouteval trace_id)

Returns a resistance value (real) or nil.

trace_id Tracing model ID (real) returned by tpm_tracealloc

First use tpm_tracebestroute to calculate the best route.

ADSRX Equivalent

int

tpm_tracebestrouteval

ade_id trace_id,

ads_real *resist);

Returns RTNORM or an error code.

resist Resistance

The ADSRX function passes the resistance of the best route through a parameter instead of returning it as the AutoLISP function does.