Jump to content

Lisp for Page Setup


woodman78

Recommended Posts

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:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...