Command Line Options
Command line switches can specify different startup routines for Autodesk Navisworks.
You can use command line switches to specify several options when you start the program. For example, you can run Autodesk Navisworks in another language, perform additional memory checks, load and append files, and output error reports. With command line switches, you can also set up several program icons, each with different start-up options.
Command line switches are parameters you can add to the roamer.exe command line associated with a Microsoft® Windows® shortcut icon or the Windows Run dialog box. You can include several switches within a single command line.
Start Navisworks with a Command Line Switch
Right-click the Navisworks shortcut icon on your desktop.
Click Properties.
In the Navisworks Properties dialog box, open the Shortcut tab.
In the Target field, edit the parameters for the switch using the following syntax:
“drive:pathname\roamer.exe” [switches] [“file”] [“file2”] [“fileN”]
where [switches] are the valid command line switches in any order, and [file1]...[fileN] are the files to be loaded and appended together, if required. You must provide the full file paths within quotation marks.
Example 1: Enter: `“D:\Autodesk Navisworks\roamer.exe " -log "D:\temp\nw_log.txt" "D:\temp\a.nwd" "D:\temp\b.dwg"
Example 2: The following entry starts the program from a folder named Autodesk Navisworks in Russian language, loads the global options file options.xml, and creates a log file log.txt.
"C:\Autodesk Navisworks\roamer.exe" -options "C:\temp\options.xml" -lang ru-ru -log "C:\temp\file.log"
Click OK.