CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 17548
Plex.Earth connects AutoCAD and Google Earth

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    103508×  
Prices - CAD eShop:
applies to: TrueView/VoloView · 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   



Featuring:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


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.
TOPlist