从图形中拭除对象时触发。 支持的平台:仅窗口 签名工 务 局: object.ObjectErased(ObjectID)
言论显示模式对话框时不会触发任何事件。 例子工 务 局: Private Sub AcadDocument_ObjectErased(ByVal ObjectID As Long_PTR) ' This example intercepts a drawing ObjectErased event. ' ' This event is triggered when an object is removed from a drawing. ' ' To trigger this example event: Delete (Cut) an existing object from an open drawing ' Use the "Object" variable to determine the type of object removed MsgBox "The ID of the object deleted is: " & ObjectID End Sub Visual LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )
GMT+8, 2024-5-12 20:27
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.