在将对象添加到图形时触发。 支持的平台:仅窗口 签名工 务 局: object.ObjectAdded(Entity) 言论显示模式对话框时不会触发任何事件。 例子工 务 局: Private Sub AcadDocument_ObjectAdded(ByVal Object As Object) ' This example intercepts a drawing ObjectAdded event. ' ' This event is triggered when an object is added to a drawing. ' ' To trigger this example event: Add an object to an open drawing ' Use the "Object" variable to determine the type of object added MsgBox "A " & TypeName(Object) & " was just added to the drawing!" End Sub Visual LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:19
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.