CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1527 

CAD tip CAD tip # 6342:

Question CAD 
 %  platform  category 
Q - question

The hidden commands in Autodesk DWG TrueView.

A - answer The free DWG viewer and converter Autodesk DWG TrueView is an application based on AutoCAD OEM. So it contains the full AutoCAD kernel, only with a limited access to the command set and to API interfaces.

The application menu (ribbon in version 2009) offers only a couple of commands like OPEN, DIST, AREA, PLOT, PUBLISH, PAGESETUP, DWGPROPS, ZOOM, PAN, VIEW, 3DORBIT, ABOUT or DWGCONVERT and VIEWERPREFERENCES. And although there is a commandline in DWG TrueView, it seems to be only for prompts and it is not possible to enter (type in) commands like in normal AutoCAD.

But! Despite of this, you can use an undocumented operation and paste texts (commands) to the commandline via standard keyboard shortcut for clipboard paste: Ctrl+V (press ESC to return to the "command prompt" mode). So you can type a command e.g. in Notepad and paste it to DWG TrueView (mouse cursor on the commandline). This opens new possibilities to enter other AutoCAD commands and set AutoCAD system variables in DWG TrueView.

You can e.g. "learn" DWG TrueView to know commands like GRID, PLOTTERMANAGER, REGEN, REDRAW, REDRAWALL, 3DCONFIG, STYLESMANAGER, VIEWGO and VIEWPLAY, XREF and IMAGE (external references palette) or even the commandline versions -XREF and -IMAGE which can really attach external files. Plus you can use (paste) the SETVAR command to list and set a couple of system variables. You can e.g. enable the old pulldown menus (MENUBAR) or set an alternate font (FONTALT).

Here is the list of variables available in DWG TrueView 2009:
AREA              0.000                                (read only)
BACKGROUNDPLOT    0
CAPTURETHUMBNAILS 1
CLAYER            "SRAFY"
COORDS            1
DIMSTYLE          "A2000"                              (read only)
DWGCHECK          1
FONTALT           "simplex.shx"
FONTMAP           "C:\Documents and Settings\USER\Application Data\..."
GRIPS             0
MENUBAR           1
NAVSWHEELMODE     2
NAVSWHEELOPACITYBIG 50
NAVSWHEELOPACITYMINI 50
NAVSWHEELSIZEBIG  1
NAVSWHEELSIZEMINI 1
NAVVCUBEDISPLAY   1
NAVVCUBELOCATION  0
NAVVCUBEOPACITY   50
NAVVCUBEORIENT    1
NAVVCUBESIZE      1
PERSPECTIVE       0
PICKFIRST         0
PROXYNOTICE       0
STEPSIZE          6.000
THUMBSIZE         1
XREFNOTIFY        2

This method no longer works since DWG TrueView 2012.

VoloDWG
100% *  CAD 
8.10.2008    31893x  
Comments   Tell a friend
applies to: TrueView/VoloView · DWG ·

See also:
Tip 8774:Silent installation of Windows applications - MSIEXEC parameters
Tip 8499:Batch change of page setups and purging in DWG files.
Tip 8206:Using the DWG TrueView viewer as a drawing editor.
Tip 8159:How to change background color in DWG TrueView 2012?
Tip 7462:Graphics formats supported in Autodesk Design Review 2011.


Back   All CAD Tips All CAD tips&tricks

Cannot edit an object: "1 was not in the working set" « | » My KeyboardShortcuts.txt file is in a wrong language.

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   



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


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist