tpm_elemid

AutoCAD Map 3D AutoLISP

Up a level
tpm_elemid
 
 

Gets the ID of an element.

(tpm_elemid tpm_id type index)

Returns an element ID (real) or nil.

tpm_id Topology ID (real)
type Element type (integer). Values:
1 Node
2 Pink
3 Polygon
index Element index (real).
The index of the first element is 0