ObjectErased 事件 (ActiveX)
当对象从图形中删除时触发。 支持的平台:仅限 Windows 签名VBA: object.ObjectErased(ObjectID)
言论显示模式对话框时不会触发任何事件。 例子VBA: 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 可视化 LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-19 06:44
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.