CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 6926

CAD tip CAD tip # 10461:

Question CAD 
 %  platform  category 
Q - question

Unattended DWG plotting and PDF publishing without AutoCAD.

A - answer You don't necessarily need AutoCAD to plot DWG drawings. No, I don't talk about LT or even some AutoCAD clones (which do not fully understand the genuine DWG file format). You can use the free viewer Autodesk DWG TrueView to view, convert, and plot or publish your DWG files just like the full AutoCAD.

You can download the latest version of DWG TrueView from our Download section. The plot or PDF-/DWF-publish process can be invoked interactively, from the application ribbon. But you can also trick TrueView to run this process unattended, automatically from the Windows (DOS) command line, or even from Windows batch scripts.

Just use the following syntax to run your version of DWG TrueView (dwgviewr.exe) - it opens the specified drawing, runs the specified commands (from script) and starts the application faster (nologo):

"C:\Program Files\Autodesk\DWG TrueView 2015 - English\dwgviewr.exe" "c:\drawings\ sample.dwg" /b "c:\scripts\plotPDF.scr" /nologo

Beside your DWG file you will need a pre-prepared .SCR (script) text file which invokes the PLOT command and answers its prompts. E.g. for PDF plotting you would use something like this (save from Notepad as plotPDF.scr):

;Sample plot script
DWG To PDF.pc3
ISO A4 (297.00 x 210.00 MM)

_QUIT _Yes

Watch the standard AutoCAD -PLOT command for the individual prompts and adjust for your device, sizes and plot styles.

You can also use the above mentioned commandline runstring to preset the default DWG "Print" behaviour (Windows rt-click context menus) through the Registry. E.g. set the "Default" key value for:


100% *  CAD 
19.8.2015    29116×   FAQ  
Prices - CAD eShop:
applies to: DWG ·

See also:
Tip 13274:How to switch the DWG TrueView viewer to the classic user interface, without ribbon?
Tip 12325:How to display a DWG from Advance Steel including AS objects? (AST viewer)
Tip 12103:Random lines are displayed over my AutoCAD drawing.
Tip 12049:AutoCAD display (status bar) jumps and flickers while zooming.
Tip 11623:Measuring suddenly doesn't work in AutoCAD or DWG TrueView.

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.