Function Entry: VLAX-RELEASE-OBJECT
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VLAX-RELEASE-OBJECT
Name
vlax-release-object
Class
Visual LISP automation utility
Syntax
(vlax-release-object obj)
Arguments and Values
obj— VLA-object.
Description
Releases a drawing or automation object.
Return Values
Integer on success.
Side Effects
Releases underlying automation resources.
Exceptional Situations
Signals an AutoLISP-visible error if the object has already been released.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [vlax-release-object (AutoLISP/ActiveX)](https://help.autodesk.com/cloudhelp/2024/HUN/AutoCAD-AutoLISP-Reference/files/GUID-85FA59E7-9EC9-4690-8CEE-318BF542C0E6.htm)
- [About Releasing Objects and Freeing Memory (AutoLISP/ActiveX)](https://help.autodesk.com/cloudhelp/2024/ESP/AutoCAD-AutoLISP/files/GUID-4A2C849B-C0E0-4991-905D-A916B2CD3F25.htm)
Notes
- Autodesk documents that the actual COM release can be deferred until garbage collection.
- Autodesk documents that
gccan be used to force collection, though excessive use may hurt performance.
Compatibility
Available only on Windows; not available on macOS or Web.