psetuptocurrent

psetuptocurrent

JWhitneyZ97DS
Participant Participant
292 Views
3 Replies
Message 1 of 4

psetuptocurrent

JWhitneyZ97DS
Participant
Participant

I'm looking for a routine to make a page setup current using lsp and scripts - I think there was something called "psetuptocurrent" but I cannot find it - any suggestions or?

0 Likes
Accepted solutions (2)
293 Views
3 Replies
Replies (3)
Message 2 of 4

paullimapa
Mentor
Mentor
Accepted solution

This link should have the code you need to set a page setup name current 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 3 of 4

JWhitneyZ97DS
Participant
Participant

Thanks Paul - I had most of that, just had to debug the -plot portion (typos can kill you!)

 

0 Likes
Message 4 of 4

paullimapa
Mentor
Mentor
Accepted solution

you're welcome... and if you have AutoCAD 2021 and up you can use the command line version of pagesetup by preceding the command with a hyphen:

-PAGESETUP

This just has less prompts to deal with compared to -PLOT

But still lots of prompts of course...cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes