tpm_infocorrect

Land Desktop Development ARX CPP SDK

Up a level
tpm_infocorrect
 
 

Tests whether a topology is correct and performs a geometrical audit.

int

tpm_infocorrect(

ade_id tpm_id);

Returns TRUE or FALSE.

tpm_id The topology ID.

If topology entities are changed using drawing tools, the topology information is modified according to the geometrical changes. If this is impossible, the topology becomes incorrect. Use this function to verify that a topology is correct before performing an element trace, overlay, or other topology operation. See also tpm_infomodified.

To fix an incorrect topology, try unloading and reloading it. If it does not reload, you must use topology edit to fix the topology. If this does not work, rebuild the topology.

Note  This function indicates when an error occurs, but does not show its location.