The following table provides summary descriptions of the AutoLISP functions for handling drawing objects.
Functions for handling drawing objects |
|
---|---|
Function |
Description |
(vlax-create-object “prog-id”) |
Creates a new instance of an ActiveX object |
(vlax-dump-objectobj) |
Lists an object's methods and properties |
(vlax-erased-pobj) |
Determines whether an object was erased |
Retrieves the top-level AutoCAD application object for the current AutoCAD session |
|
(vlax-get-object “prog-id”) |
Returns a running instance of an ActiveX object |
“prog-id”) |
Returns a running instance of an ActiveX object, if one exists, otherwise starts a new instance of the object |
:tlb-filename filename [ :methods-prefix mprefix :properties-prefix pprefix :constants-prefix cprefix]) |
Imports information from a type library |
objmethod) |
Determines whether an object supports a particular method |
Determines whether an object has been released |
|
(vlax-read-enabled-pobj) |
Determines whether an object can be read |
(vlax-release-objectobj) |
Releases a drawing object |
Determines whether type library information is present for the specified type of object |
|
(vlax-write-enabled-pobj) |
Determines whether an AutoCAD drawing object can be modified |