hard coded to A3 size for testing change A3 to correct plot sheet (defun AH:pltlays ( / val1 val2 plotnames dwgname lendwg pdfname lay numlay numend dwgpre lstsheet sc ll ur trgfile) One last rule for simplicity the code expects the title block to be at 0,0 lower left, it is possible to add a find title block but at this stage I would like to see if the code meets your needs, just adds a level of complexity. If you want this option remove the from the 3 lines and make sure you have mergepdf in the support path. I have not found a easy way to make 1 combined pdf so I use Ghostscript to re-combine the output into 1 PDF. The pdfname and destination is user definable and we can make some changes if required. You may also want to change the Lower left ll and Upper right ur window pick points this allows for subtle shifting of the sheet within the plot area. I have set the sheets to fit just for testing this should be 1=1 you can check manually by looking at what you have when doing a manual "PLOT", the same with the Ctb to be used I have just used 1 I have. You should have already sheet sizes set up for the big sheets and which plotter you will need to put them into the code at the corresponding sheet title block list at the start of code. This is for testing and seems to be working under testing, it needs user modification as I do not want to get into printer configuration settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |