com - Attach to process instead of Dispatch -
i using pywin32 , calling dispatch function create com object, means new instance of application created (in case ptv vissim) whenever call function. possible, instead, attach existing vissim application? speed development, since wouldn't have wait application start every time run test.
this existing relevant code:
import win32com.client com vissim = com.dispatch("vissim.vissim.540")
Comments
Post a Comment