leighmetcalfe Posted July 16, 2023 Share Posted July 16, 2023 Hi, I looking for some guidance on creating a script that will allow me to plot selected layouts to a specified folder location. I have tried the below, but it will only plot to the same location as where the drawing is stored. I can't seem to find where I enter the folder location below. I have attached my script, I can't use a Lisp command as I am only using an LT version of the software. plot Y DWG to PDF.pc3 ISO full bleed A3 (297.00 x 420.00 MM) Landscape No Layout FIT Ortho ON -Osnap app,ext,mid,int,cen,qua,tan,per,end,par,ins,node,nea, Viewres Y 20000 Zoom e Regenall 2.F_(Rev_C01).scr Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 17, 2023 Share Posted July 17, 2023 (edited) Look at the lisp version, see pdfname. Note the device and sheet size in a script will need to have the dbl quotes as it they have spaces in name. (COMMAND "-PLOT" "Y" "" "dwg to Pdf" "ISO A0 (841.00 x 1189.00 MM)" "m" "LANDSCAPE" "N" "E" "F" "C" "y" "Acad.ctb" "Y" "n" "n" "n" pdfName "N" "y" ) Edited July 17, 2023 by BIGAL Quote Link to comment Share on other sites More sharing options...
Steven P Posted July 18, 2023 Share Posted July 18, 2023 To add to BigAls answer, this is copied from my PDF plotting LISP, I work out all the variables listed below in the LISP and use them in the final plotting line. However here for easier reference of what to use to plot in paperspace Filepathname is what you are asking about, change it to whatever you want. For LT, the latest versions have some LISP abilities, not sure if it includes VLA- commands but has the basics - and this should work (and BigAls above). Depends on your installation and license you might be able to just upgrade to the latest version which will help here. (command "-plot" detailedplotconfiguration layoutname plottername papersize paperunits orientation plotupsidedown plotarea plotscale plotoffset plotwithplotstyles plotstyletablename plotwithlineweights "" "" "" filepathname saveplotsettings proceedwithplot ) Quote Link to comment Share on other sites More sharing options...
leighmetcalfe Posted July 28, 2023 Author Share Posted July 28, 2023 I have given up, I cant seem to get it to work. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 28, 2023 Share Posted July 28, 2023 Post a dwg sample with a layout with title block and there are a few of us that can help. I have plot layouts by range. 1 - 99 does all 2-4 only does 2,3,4. 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.