Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Engineering Section (EngineeringSection.html) / AVEVA Integration (AVEVAIntegration.html) / AVEVA Normal Utility (AVEVANormalUtility.html) / Review File Creation (NAVIS) (ReviewFileCreationNAVIS.

html) /

NavisWorks NWD Auto-Generation


Start Autodesk Navisworks with a Command Line Switch:

To start the program with a command line switch

1. Right-click the program icon on the Windows desktop. Click Properties.


2. In the Autodesk Navisworks Properties dialog box, Shortcut tab, in the Target box, edit the parameters for the switch using the following syntax (or in CMD):

"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 the below line in a *.bat file then run to generate a NWD file with the mentioned name and path form the mentioned RVM file:

"D:\ Autodesk Navisworks\roamer.exe " -nwd "D:\temp\test.nwd" "D:\temp\test.rvm"

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"

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.

Valid switches are listed in the following table (Feb 07 2018, Navisworks Help (https://knowledge.autodesk.com/support/navisworks-products/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/Navisworks-Manage/files/GUID-3891FB9F-7BF1-4510-A1EE-121E975C0ACE-htm.html)):

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.

Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents (https://www.helpndoc.com/feature-tour)

Copyright © 2020 by Borna iDÉES System. All Rights Reserved.

You might also like