Jump to content

Recommended Posts

Posted

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

Posted (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 by BIGAL
Posted

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
)

 

  • 2 weeks later...
Posted

I have given up, I cant seem to get it to work.

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...