Object-Handling Functions

AutoCAD AutoLISP & Visual LISP

 
Object-Handling Functions
 
 
 

The following table provides summary descriptions of the AutoLISP object-handling functions.

Object-handling functions

Function

Description

(entdel ename)

Deletes objects (entities) or restores previously deleted objects

(entget ename [applist])

Retrieves an object's definition data

(entlast)

Returns the name of the last nondeleted main object in the drawing

(entmake [elist])

Creates a new entity (graphical object) in the drawing

(entmakex [elist])

Makes a new object, gives it a handle and entity name (but does not assign an owner), and then returns the new entity name

(entmod elist)

Modifies the definition data of an object

(entnext[ename])

Returns the name of the next object in the drawing

(entupd ename)

Updates the screen image of an object

(handenthandle)

Returns an object name based on its handle

(vlax-dump-objectobj)

Lists an object's methods and properties

NoteVLISP extension: requires vl-load-com

(vlax-erased-p obj)

Determines whether an object was erased

NoteVLISP extension: requires vl-load-com

(vlax-get-acad-object)

Retrieves the top-level AutoCAD application object for the current AutoCAD session

NoteVLISP extension: requires vl-load-com

(vlax-method-applicable-pobjmethod)

Determines whether an object supports a particular method

NoteVLISP extension: requires vl-load-com

(vlax-object-released-pobj)

Determines whether an object has been released

NoteVLISP extension: requires vl-load-com

(vlax-read-enabled-pobj)

Determines whether an object can be read

NoteVLISP extension: requires vl-load-com

(vlax-release-objectobj)

Releases a drawing object

NoteVLISP extension: requires vl-load-com

(vlax-typeinfo-available-pobj)

Determines whether type library information is present for the specified type of object

NoteVLISP extension: requires vl-load-com

(vlax-write-enabled-pobj)

Determines whether an AutoCAD drawing object can be modified

NoteVLISP extension: requires vl-load-com