Starting PTV Vissim via the command prompt
You can also start Vissim via the command prompt. Here, you can use parameters to control various start options.
1. Press the Windows key and the r key at the same time.
The Run window opens.
2. Click the Browse button.
The Browse window opens.
3. Browse to the Exe directory of your Vissim installation. This is by default:
C:\Program files\PTV Vision\PTV Vissim 2022.00-13\Exe\
4. Double-click VISSIM220.exe.
The Browse window closes. The path is entered in the Start window, in the Open box.
5. Into the Open box, following ..\VISSIM 2022.exe, enter a space.
6. After the space, enter the desired command line parameter:
Parameter | Description |
---|---|
-automation |
Provides Vissim as a COM server in the automation mode for COM scripts that are started subsequently. |
<input file> |
Loads the specified network file *.inpx or *.inp. If the network file has not been saved to the Exe directory, enter the path in front of the <input file>. If a path contains spaces, add the character " at the beginning and end of the path, for example "C:\Program Files\PTV Vision\PTV Vissim 2022.00-13\Exe\Vissim220.exe" Busmall.inpx |
-b <layout file> |
Loads the specified layout file *.layx. |
-flush |
Immediately saves any debug messages to the file %Tmp%\VISSIM\vissim_msgs.txt, instead of waiting until a certain number of messages has been reached. Use this parameter to ensure that the vissim_msgs.txt file contains all messages, e.g. when looking for a program error and you want to send all messages in a Hotline package to support. In this case, use the -flush parameter together with the -o parameter: ...-o -flush -flush has an impact on the performance of Vissim. Therefore do not use this parameter by default. Only use it when you want to make sure that all messages are included in the vissim_msgs.txt file. |
-force3d |
Deactivates the testing of the supported OpenGL version. |
-o |
Saves debug messages in the %tmp%\VISSIM\vissim_msgs.txt file. |
-q <input file> |
Enables the Quick mode during simulation. If the network file has not been saved to the Exe directory,next to the <Input file>, enter the path. -q must be followed by a space. |
-regserver |
Registers Vissim as a COM server. If the registration has not been successful, a message opens. |
-s <input file> |
Batch operation: Vissim starts the simulation and closes after the end of the simulation. If the network file has not been saved to the Exe directory,next to the <Input file>, enter the path. -s must be followed by a space. |
-unregserver |
Deregisters Vissim as a COM server. |
7. Confirm with OK.
Superordinate topic:
Principles of operation of the program
Related topics: