View Full Version : Lisp for Page Setup
woodman78
4th Nov 2009, 09:58 am
I have setup my title sheet so that the scale is linked to the viewport scale and plotscale using fields. This is because we plot a lot of our drawings at A3 for reports as well as using them at A1.
My question is can someone do a lisp that would set the page setup (my page setups are simply called A1 and A3) and would then regenall so that the fields get updated.
I would appreciate help on this.
Thanks.:wink:
woodman78
4th Nov 2009, 10:22 am
Not to worry, I just got it.
I used this:
(defun c:A3 ()
(command "-plot" "n" "" "A3" "" "n" "y" "n")
(command "regenall")
(princ)
)
It does the trick alright
ILoveMadoka
4th Nov 2009, 01:41 pm
Can I ask a couple related questions here?
(1)
Using Detailed Plot Configuration..
I want to plot EVERY LAYOUT
How do I page through them all?
Sometimes I do not plot Model Space but only the Layouts..
(2)
I sometimes need to change printers and I'd like to have a routine for this.
Problem is they each have Path Names and some have spaces.
I don't know how to pass a name such as "\\MyServer\MyPrinter PCL"
The names are giving me problems.
Renaming is NOT an option (Corporate thingie!)
Thanks in advance!
You guys are awesome!!
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.