tpm_infocomplete

Land Desktop Development ARX CPP SDK

Up a level
tpm_infocomplete
 
 

Tests if a polygon topology is complete.

int

tpm_infocomplete(

ade_id tpm_id);

Returns TRUE if the topology is complete or FALSE.

tpm_id The topology ID of a polygon topology.

Use this function to verify that a polygon topology is complete before performing an element trace, overlay, or other topology operation. This function applies only to polygon topologies.

A topology is considered complete if all necessary entities exist in the current drawing. It is considered incomplete if at least one polygon is incomplete.

A query can bring an incomplete topology into the current drawing. Because this part has the same name as the complete topology that it came from, the part could be mistaken for the whole. Although you can execute any topology operation on an incomplete topology, the result may not be what you intend.