Quote Originally Posted by PaulLi_apa View Post
Updated:
@BlackBox tip on automaticpub only works if that layout has a pagesetup saved with all the plot settings ie:
the pdf plot device, paper size, plot area, pen assignment, measuring unit, scale, orientation and etc which is everything you see in the PLOT window.
Plot device selection is under: Options>Plot and Publish>Automatic Publish Settings>File format
Correct; Autopublish inherently produces PDF/DWFx on SAVE, etc so *IF* used, should have an applied page setup in kind with the desired output.

Perhaps some time to RTFM may be needed.



In the interim, if you need to quickly set the active page setup via LISP/ObjectDBX/Core Console, this old post may help:

https://forums.augi.com/showthread.p...=1#post1219546

Quote Originally Posted by BlackBox View Post
Building on my earlier post, here's an incremental update which makes available a LispFunction Method named vla-SetActivePageSetup.
<snip>

Example

Code:
(foreach layoutname (layoutlist)
  (vla-SetActivePageSetup layoutname “YourPageSetupName”)
)
<snip>