Command Line Switches

Valid switches are listed in the following table.

Command Line Switch Argument Description
-AppendFile [inputfile] Appends a file to the currently loaded files.
-AddPluginAssembly [filename] Plugins are auto-loaded from the Plugins folder in the installation directory. This command allows Navisworks to load plugins from .NET assemblies in a other locations. See developer documentation in the Navisworks SDK (installed separately.)
-CreateCache [inputfile] Creates a cache (NWC) file for a design file.
-DisableProgress   Disables the display of the progress dialog (only applies if the user interface is shown).
-dump [file_name.dmp] If there is an application crash, outputs an error report to the specified file. You must provide the file name and file path within quotation marks.
-EnableProgress   Enables display of the progress dialog while processing switches (only allowed if the user interface is shown).
-ExecuteAddInPlugin [plugin] [arg1 arg2 ...] Execute the specified add-in passing any additional arguments to the add-in.
-Exit   Exits roamer once all command line switches have been processed.
-HideGui   Starts roamer.exe with the Autodesk Navisworks user interface initially hidden.
-lang en-US = English Launches Autodesk Navisworks in the specified language. It is possible to run Autodesk Navisworks in a language other than the default locale (for example, you can run a Japanese version of Autodesk Navisworks with English default locale). If the relevant language pack is not installed, this is ignored.
de-DE = German
es-ES = Spanish
fr-FR = French
it-IT = Italian
ja-JP = Japanese
ko-KR = Korean
pt-BR = Brazilian Portuguese
ru-RU = Russian
zh-CN = Chinese (PRC)
-log [filename.txt] Outputs log to the specified file. You must provide the full file path within quotation marks. For example, “C:\temp\log.txt"
-memcheck   Runs Autodesk Navisworks with additional checks for memory errors.
-NoGui   Starts roamer.exe without a user interface. This is a faster option when the user interface is not required.
-NoCache   Turns off Navisworks cache-file (NWC) processing. Without this all other commands will create NWCs for CAD files newly-read, or read any pre-existing valid NWC for a CAD file that Navisworks has cached before.
-nwc [inputfile] Autodesk Navisworks converts an input file into the NWC format in the background. You must provide the full file path within quotation marks. For example, “C:\temp\a.dwg"
-nwd [outputfile.nwd] [input file] Autodesk Navisworks converts an input file into the NWD format in the background, and places it into the specified directory. You must provide the full file paths within quotation marks. For example, “C:\temp\b.dwg"
-OpenFile [inputfile] Opens a file, discarding anything already loaded (see AppendFile).
-options [filename.xml] Starts Autodesk Navisworks, and imports the global options from the specified global options file. You must provide the full file path within quotation marks. For example, "C:\temp\my_global_options.xml"
-Print   Prints document with default printer driver and port.
-Print [printer] Prints document to printer with default driver and port.
-Print [printer] [driver] Prints document to printer with driver and default port.
-Print [printer] [driver] [port] Prints document to printer with driver and port.
-Register   Registers roamer.exe with COM for everyone on this machine (requires administrator rights).
-RegisterPerUser   Registers roamer.exe with COM for the current user only.
-SaveFile [filename] Saves the file in NWF or NWD format according to the file-extension given. Can be used inside a sequence of options to save an intermediate result.
-ShowGui   Starts roamer.exe with Autodesk Navisworks user interface visible.
-Unregister   Unregisters roamer.exe with COM for everyone on this machine (requires administrator rights).
-UnregisterPerUser   Unregisters roamer.exe with COM for the current user only.