Hi CAB, thank you very much for your link
I am not trying to or wanting to import a page setup from an existing "template" file, I have a macro for this, what I am looking to do is preset one setting in the plot dialog box of my own choosing, one at a time, I am able to do it for "activeLayout" but not for all "Layouts" at once, including the Model Space.
Why do I want to do this? Only to add a new tool to my collection of tools and to add an extra bit of control for one off situations. but mainly I can't figure out how to do it and I always seem to be starting from scratch with my LISP, I hit it hard and heavy for a week or two then 6 months later I am back to square one and I am frustrated and mind blocked.
Here is a basic example of where I am trying to get to:
(defun c:test ( / )(vl-load-com)
(setq acDoc (vla-get-activeDocument (vlax-get-acad-object))
acLayouts (vla-get-Layouts acDoc)
)
(vlax-for x acLayouts
(vla-put-paperunits acLayouts 1)
)
(princ)
)
Thanks again