There is a command line bar at the bottom of the screen where commands can be entered by typing them in lieu of using the pull down menus and the mouse. The command bar can be raised and lowered by using the function key F3 or from the Tools menu.
The commands you type in the command bar are case insensitive. Commands currently available are:
All commands typed into the command bar are retained in a history stack. To view the stack use the up arrow and down arrows on your keypad. The up arrow will move up the stack, that is starting with the last command and then displaying each previous command. A down arrow will move down the stack starting with the first command typed and then displaying each subsequent command. Then either the beginning or the end of the stack is reached the program will loop around to the other end of the stack.
Please note that only commands typed into the command bar are kept in the history. Commands selected using the mouse and file names typed into dialogs are not kept in the history.
This feature is being worked on.
Viewer can be called with up to 2 command line arguments. The format for these is:
viewer [filename] [cmd]
Where filename is the full path and name of the drawing you want to open and cmd is one of the following:
After -report
additional multiple arguments may also be supplied. There are several undocumented
arguments that may work, but the two that have been tested are:
Example Usage:
viewer path/to/your/directory/filename.dwg -report -blocks -attributes
The command above would open the file /path/to/your/directory/filename.dwg
and then open a report window seeded with the blocks and attributes. The report could be further customized using the selections described above.
To do batch reporting use the tag dir=
in front of the filename, and make sure that
filename is a directory name. You must also provide the -report
argument.
An example would be:
viewer dir=path/to/your/directory -report -blocks -attributes
This command would open all files ending in .dwg or .DWG and located in /path/to/your/directory
.
The report would be seeded with all the block and attribute information in these drawings. Using
the controls described in the previous section the report could be further customized.