vlax-object-released-p


(vlax-object-released-p vlaObject)

This function verifies whether the vlaObject is already released.

Arguments

vlaObject  (VLA-Object) any COM object

Return

T if the COM object is already released, NIL otherwise

Example

(setq ent (vlax-ename->vla-object (entlast)))  #<VLA-OBJECT IAcadLine 0000000039E12370>
(vlax-object-released-p ent)  NIL
(vlax-release-object ent)  0
(vlax-object-released-p ent)  T

Remarks

the VLA-Object of an erased entity or object is still valid, and not automatically released;
see (vlax-release-object) function



©  Bricsys NV. All rights reserved.