Using the COM Interface

Note: Vissim demo versions do not have a COM interface.

You can use the add-on COM interface module (Component Object Model) for:

  • Preparation and postprocessing of data
  • Efficiently controlling the sequence for the examination of scenarios
  • Including control algorithms which you have defined
  • Access to all network object attributes

Via the COM interface you can start Vissim from other applications or scripts or you can access Vissim objects.

You can use various programming environments, e.g. VisualBasic for Applications in Microsoft Excel™, Visual C++ or Visual J++ and use simple script languages, for example, VB Script or Python.

Script files from the COM interface can be executed in Vissim (Selecting and executing a script file).

COM Help

Information about the functions of the COM interface and associated commands can be found in the COM Help.

  • ►  On the Help menu, click > COM Help.

You can find examples in the following default directory:

  • ..\Users\Public\Public Documents\PTV Vision\PTV Vissim 2024\Examples Training\COM\

Accessing attributes via the COM interface

Using the AttValue method, you have read access to all network object attributes. Write access is not available for all attributes. In the COM Help, the Editable row of each attribute specifies a True or False value, indicating whether or not the attribute can be write-accessed.