CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

ActiveX 开发指南

相关分类

自动打印日志属性 (ActiveX)

2023-1-3 22:08| 发布者: admin| 查看: 426| 评论: 0|来自: AutoCAD

摘要: 指定是自动保存打印日志还是发布日志。

指定是自动保存打印日志还是发布日志。

支持的平台:仅窗口

签名

工 务 局:

object.AutomaticPlotLog
对象

类型:首选项输出

此属性适用的对象。

属性值

只读:

类型:布尔

控制在打印或发布时是否自动创建日志文件。

言论

此属性等效于“AutoCAD 选项”对话框设置“自动保存打印和发布日志”。

例子

工 务 局:

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

Visual 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)
)

路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )

GMT+8, 2024-5-27 09:44

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部