Specifies the default template for Page Setup overrides.
Supported platforms: Windows only
VBA:
object.PageSetupOverridesTemplateFile
Type: PreferencesFiles
The object this property applies to.
Read-only: No
Type: String
The default drawing template file that contains page setup overrides.
No additional remarks.
VBA:
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") )