Does anyone know of a way to set-up multiple layouts with the same page set-up simultaneously?
Thanks.
Peter
![]() |
|
![]() |
|
![]() |
|
![]() |
Does anyone know of a way to set-up multiple layouts with the same page set-up simultaneously?
Thanks.
Peter
Do you mean to "apply" a page setup to multiple layouts?
If so, are you wanting to do this within the AutoCAD UI, or with lisp/VBA code?
R.K. McSwain | CAD Panacea |
I use ADT2006, so I don't know if they have added the feature.
I do know that DWGTrueView will do that. You can convert in place and just leave the file the same, but import and apply plot styles to layouts.
You could do hundreds of files in one go this way.
This is exactly the problem I'm trying to solve.
You can use a macro to set filedia to 0, & use -PSETUPIN to insert a standard print setup, but I'm stumped as to how to assign the setup to a layout without assigning it manually through PAGESETUP.
If solution is known which doesn't use LISP, etc., all the better, as I'd like to share this with LT users.
Last edited by andersonjg; 2008-05-21 at 09:50 AM. Reason: Can this thread please be moved to the AutoCAD plotting section?
You can use PUBLISH. Select all the sheets and then select a setup. This doesn't apply the setup permanently, but it works for plotting. Other than that, I only know of programatic ways to do it. I have a page setup import vba solution on the Exchange that does it.
C:> ED WORKING.... ▒
Here's another I've created for myself using LISP. It's command line only - so you can run it through a script on multiple drawings. Just have to make sure the setup is loaded in each DWG first as with -PSETUPIN.
The command is -MPageSetup. I'm in the process of adding a dialog interface, that's why the - prefix for command line version. But for your scenario, I think it's not necessary. It asks for the tabs to assign it to (or * for all), then it asks for the Setup Name.
Irneb,
Thanks for sharing the LISP, the routine works perfectly.
Thanks for that lisp routine. I have been thinking that this is one routine I really would have liked and now I have it.
Thanks again.
You're both welcome ... BTW I've finished the dialog interface (attached).