AutomaticPlotLog 属性 (ActiveX)
指定是自动保存“打印”日志还是“发布”日志。 支持的平台:仅限 Windows 属性值只读:不 类型:布尔 控制在打印或发布时是否自动创建日志文件。 言论此特性等效于“AutoCAD 选项”对话框设置“自动保存打印和发布日志”。 例子VBA: Sub Example_AutomaticPlotLog() ' This example sets the AutoCAD Options dialog box ' setting Automatically Save Plot and Publish Log to True. Dim MyPreference As AcadPreferencesOutput Set MyPreference = AcadApplication.preferences.Output MyPreference.AutomaticPlotLog = True End Sub 可视化 LISP: (vl-load-com) (defun c:Example_AutomaticPlotLog() ;; This example sets the AutoCAD Options dialog box ;; setting Automatically Save Plot and Publish Log to True. (setq acadObj (vlax-get-acad-object)) (setq preferences (vla-get-Preferences acadObj)) (vla-put-AutomaticPlotLog (vla-get-Output preferences) :vlax-true) ) |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2024-12-15 22:26
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.