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.

Notes

  • Autodesk documents that the actual COM release can be deferred until garbage collection.
  • Autodesk documents that gc can be used to force collection, though excessive use may hurt performance.

Compatibility

Available only on Windows; not available on macOS or Web.