Traffic micro-simulation calibration and validation

De Transport
Révision de 17 novembre 2014 à 18:26 par Laurent (discuter | contributions) (Resources)

How to use VISSIM via a python script

As found in the VISSIM manual, an external program can communicate to VISSIM via the COM interface, which is basically a Window's built-in interface designed to have programs interacting with each other in a suh a way that the user only need to know how the action he wants to use in the other program is called. The rest is taken care of by each program's COM interface. For more information: http://msdn.microsoft.com/en-us/library/windows/desktop/ff485850(v=vs.85).aspx.

So far as using COM with python, you will need to run the win32com package, which is part of the PyWin32 Extension. It can be found here: http://starship.python.net/~skippy/win32/Downloads.html.


Resources