tpm_elemqty

AutoCAD Map 3D AutoLISP

Up a level
tpm_elemqty
 
 

Counts topology elements.

(tpm_elemqty tpm_id type)

Returns an element count (real) or nil.

tpm_id Topology ID (real)
type Element type (int). Values:
1 Node
2 Link
3 Polygon

In the ADSRX equivalent to this function, the element count type is long. Because this 32-bit data type is not available in Visual LISP, the Visual LISP function uses real, another 32-bit type.