The following table provides summary descriptions of the AutoLISP object-handling functions.
Object-handling functions |
Platforms |
|||||
---|---|---|---|---|---|---|
Windows |
Mac OS |
Web |
||||
Function |
Description |
AutoCAD | AutoCAD LT | AutoCAD | AutoCAD LT | AutoCAD |
Retrieves an entity’s supported properties |
✓ | ✓ | ✓ | -- | -- | |
Deletes objects (entities) or restores previously deleted objects |
✓ | ✓ | ✓ | -- | ✓ | |
Retrieves an object's definition data |
✓ | ✓ | ✓ | -- | ✓ | |
Returns the name of the last non-deleted main object in the drawing |
✓ | ✓ | ✓ | -- | ✓ | |
Creates a new entity (graphical object) in the drawing |
✓ | / - supported objects are limited | ✓ | -- | ✓ | |
Makes a new object, gives it a handle and entity name (but does not assign an owner), and then returns the new entity name |
✓ | / - supported objects are limited | ✓ | -- | ✓ | |
Modifies the definition data of an object |
✓ | / - supported objects are limited | ✓ | -- | ✓ | |
Returns the name of the next object in the drawing |
✓ | ✓ | ✓ | -- | ✓ | |
Updates the screen image of an object |
✓ | ✓ | ✓ | -- | ✓ | |
(getpropertyvalue ename propertyname [or collectionName index name]) |
Returns the current value of an entity’s property |
✓ | ✓ | ✓ | -- | -- |
Returns an object name based on its handle |
✓ | ✓ | ✓ | -- | ✓ | |
(ispropertyreadonly ename propertyname [or collectionName index name]) |
Returns the read-only state of an entity’s property |
✓ | ✓ | ✓ | -- | -- |
(setpropertyvalue ename propertyname value [or collectionname index name val]) |
Sets the property value for an entity |
✓ | ✓ | ✓ | -- | -- |
Lists an object's methods and properties Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Determines whether an object was erased Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Retrieves the top-level AutoCAD application object for the current AutoCAD session Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Determines whether an object supports a particular method Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Determines whether an object has been released Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Determines whether an object can be read Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Releases a drawing object Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Determines whether type library information is present for the specified type of object Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- | |
Determines whether an AutoCAD drawing object can be modified Note: Extended AutoLISP extension: requires
vl-load-com
|
✓ | ✓ | -- | -- | -- |