steven-g Posted June 21, 2013 Share Posted June 21, 2013 Thanks for response. I think it would work with this script . but I've never SETUP scripts. If I attach a drawing to be able to setup the script for 2 viewports. Thanks in advance. It would be a great help in my work (Once again I'm sorry for my English - i use google translate ) [ATTACH]42553[/ATTACH] OK here it is for the 2 viewports, if you go this route you will need to copy the whole thing and keep on pasting for as many viewports as you have, and if you use more sheets, then the name needs to be changed as well. You may also want to turn of the option in the DWG to PDF properties that opens a PDF each time or you will have 100 open PDF's as well. Couple more things you will need to create the folder where the pdf's go C:\test\ To run the script either use the 'script' command and find it in your folder, or just right click and hold on the file in windows explorer and drag it onto the autocad window. EDIT sorry forget the comment about changing the name of the sheet, the script as it is uses the current layout, so just make sure you have that layout active when you run the script. Plot to pdf a.scr Quote Link to comment Share on other sites More sharing options...
lala257 Posted June 21, 2013 Author Share Posted June 21, 2013 Thank you. It is working. You are a genius!! Just one more question: if i want to put the sixth viewport under the first viewport which coordinates i write. It is possible or not. I attach the drawing and the script. Thank you very much.. Drawing2.dwg Plot to pdf aa 6 drawing.scr Quote Link to comment Share on other sites More sharing options...
steven-g Posted June 21, 2013 Share Posted June 21, 2013 Lala257 I could write the whole thing for you, but I won't . Draw a line from the bottom left hand corner of the last viewport up to the top right hand corner, then select that line and open the properties pallete, in the geometry section it will tell you the start X and start Y of the line, and the end X and end Y, those are the numbers that you need to use. If you get stuk just post back I'll gladly help. 1 Quote Link to comment Share on other sites More sharing options...
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.