Determines if an object has been released
Supported Platforms: Windows only
(vlax-object-released-p obj)
Type: VLA-object
An object.
Type: T or nil
T, if the object is released (no AutoCAD drawing object is attached to obj); nil if the object has not been released.
Attach a Microsoft Excel application to the current AutoCAD drawing:
(setq excelobj (vlax-get-object "Excel.Application")) #<VLA-OBJECT _Application 00168a54>
Release the Excel object:
(vlax-release-object excelobj) 1
Issue vlax-object-released-p to verify the object was released:
(vlax-object-released-p excelobj) T