在 AutoCAD 收到关闭图形的请求后立即触发。 支持的平台:仅窗口 签名工 务 局: object.BeginDocClose(Cancel)
例子工 务 局: Private Sub AcadDocument_BeginDocClose(Cancel As Boolean) ' This example prevents a drawing from closing. Cancel = True MsgBox "Please do not close this drawing." End Sub Visual LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:24
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.