指定页面设置覆盖的默认模板。 支持的平台:仅窗口 属性值只读:不 类型:字符串 包含页面设置覆盖的默认图形样板文件。 言论没有额外的评论。 例子工 务 局: Sub Example_PageSetupOverridesTemplateFile() ' Note: Change the file path and name to a valid file on your system. Dim MyFiles As AcadPreferencesFiles Set MyFiles = AcadApplication.Preferences.Files MyFiles.PageSetupOverridesTemplateFile = "C:\MyTemplate.dwt" End Sub Visual LISP: (vl-load-com) (defun c:Example_PageSetupOverridesTemplateFile() ; Note: Change the file path and name to a valid file on your system. (setq acadObj (vlax-get-acad-object)) (setq preferences (vla-get-Preferences acadObj)) (setq MyFiles (vla-get-Files preferences)) (vla-put-PageSetupOverridesTemplateFile MyFiles "C:\\MyTemplate.dwt") ) |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:48
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.