在 AutoCAD 收到保存图形的请求后立即触发。 支持的平台:仅窗口 签名工 务 局: object.BeginSave(Filename)
言论一旦AutoCAD收到要保存的请求以及要保存的文件的名称,就会触发该事件。此请求可以由用户通过接口以交互方式发出,也可以以编程方式发出。BeginSave 该事件后,该事件后跟该事件,在AutoCAD完成图形的保存之后。BeginSave EndSave 显示模式对话框时不会触发任何事件。 例子工 务 局: Private Sub AcadDocument_BeginSave(ByVal FileName As String) ' This example intercepts a drawing BeginSave event. ' ' This event is triggered when a drawing receives a request to be saved. ' ' To trigger this example event: Save an open drawing ' Use the "FileName" variable to determine where the drawing file is being saved MsgBox "A drawing is about to be saved to: " & FileName End Sub Visual LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:12
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.