vlr-owner-remove


(vlr-owner-remove objReactor object)

This function removes the object from the specified objReactor ObjectReactor.

Arguments

objReactor  (object object VLR-Object-Reactor)  the reactor to remove the specified object from
object (VLA-Object)  specifies the object to be removed from monitoring

Return

object is returned always (regardless whether object is monitored or not)

Example

(setq rx (vlr-object-reactor nil nil '((:vlr-modified . cb))))  #<VLR-Object-Reactor>
(setq obj (vlax-ename->vla-object (entlast)))  #<VLA-OBJECT IAcadLine 00000000427C86C0>
(vlr-owner-add rx obj)  #<VLA-OBJECT IAcadLine 00000000427C86C0>
=> now the last added entity is also monitored by "rx" object reactor

(vlr-owner-remove rx obj)  #<VLA-OBJECT IAcadLine 00000000427C86C0>
=> now the object is no longer monitored
(vlr-owner-remove rx obj)  #<VLA-OBJECT IAcadLine 00000000427C86C0>

Remarks

see also (vlr-owner-add) and (vlr-owners) functions



©  Bricsys NV. All rights reserved.