Converting Object References

AutoCAD AutoLISP & Visual LISP

 
Converting Object References
 
 
 

There are a number of ways to refer to AutoCAD drawing objects with AutoLISP. These include the following:

  • VLA-objects, returned by ActiveX functions
  • Entity names (enames), returned by entget and entsel, identifying objects in an open drawing
  • Handles, returned by handent, which entities retain across AutoCAD sessions
  • Object IDs, used by ARX to identify objects

AutoLISP provides functions to convert from one type of object identifier to another.