You may find the same drawing object represented by different identifiers and data types such as a handle string, an ename, a VLA-object, or an ObjectARX object ID integer. To obtain the identifier with the data type your program requires, use the following strategies:
- To
find the handle associated with an ename, use the DXF 5 group of
the ename's association list:
_$ (setq handle-circle (cdr (assoc 5 (entget ename-circle))))
- To find the ename associated with a handle, use the handent function:
- To find the VLA-object associated with a handle, use the vla-handleToObject function:
- To find the handle associated with a VLA-object, use vla-get-handle to obtain the handle property:
- To find the ObjectARX object ID of a VLA-object, use vla-get-objectid to get the objectID property:
- To find the VLA-object identified by an ObjectARX object ID, use the ObjectID-toObject method on the AutoCAD Document object: