tpm_elemqty

Land Desktop Development ARX CPP SDK

Up a level
tpm_elemqty
 
 

Counts topology elements.

int

tpm_elemqty(

ade_id tpm_id,

int type,

long *qty);

Returns RTNORM or an error code.

tpm_id Topology ID
type Element type. Values can be: 1 (node), 2 (link), or 3 (polygon).
qty A pointer to the element count.