RPGIS Posted March 4, 2010 Posted March 4, 2010 Hi there, I have been struggling for the past while on coming up with a solution for updating my layouts page setup for all the drawings in my inventory. I know that you can publish drawings to a different page setup up, but that doesnt help for various reasons. Does anyone know of a way to script: (1) the import of a page setup "BORDER" (2) set every layout tab in the drawing to current ("BORDER") I think this can be done using lisp, but I am very new to this stuff, so any help would be helpful. thank you Quote
rkent Posted March 5, 2010 Posted March 5, 2010 Hi there, I have been struggling for the past while on coming up with a solution for updating my layouts page setup for all the drawings in my inventory. I know that you can publish drawings to a different page setup up, but that doesnt help for various reasons. Does anyone know of a way to script: (1) the import of a page setup "BORDER" (2) set every layout tab in the drawing to current ("BORDER") I think this can be done using lisp, but I am very new to this stuff, so any help would be helpful. thank you Do you want to run a program after a drawing is open to import and set a pagesetup for each layout? Or, do you want to select multiple drawings and have those open with a script and import and set a pagesetup for each layout? Quote
RPGIS Posted March 5, 2010 Author Posted March 5, 2010 Do you want to run a program after a drawing is open to import and set a pagesetup for each layout? Or, do you want to select multiple drawings and have those open with a script and import and set a pagesetup for each layout? I suppose either one. My intention was to use scriptpro to cylce a script through my drawing inventory. What do you suggest? Quote
rkent Posted March 5, 2010 Posted March 5, 2010 With the lisp files and this script you can get there. Modify the paths with your own and also modify the name of the drawing or template that holds the border pagesetup. TILEMODE 0 (LOAD "c:/ACAD/LLL/PLOTTING/PSETUP") (LOAD "C:/ACAD/LLL/PLOTTING/DELETEPAGESETUPS") DELETEALLPS -PSETUPIN C:/ACAD/BORDER.DWT border PSETUP BORDER all QSAVE CLOSE Psetup.lsp DeletePageSetups.lsp Quote
Recommended Posts
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.