I'm running a VISSIM Com script using Python. My VISSIM version is 2021, and I'm using Python 3.7.4.
When I execute the code in Visual Studio Code, the VISSIM window appears, and the simulation proceeds. However, once the simulation ends, the VISSIM window automatically closes even though there's no 'Vissim = None' or 'Vissim.Quit()' command. I don't know why this happens.
Does anyone know the reason? It's inconvenient because the VISSIM window closes automatically, preventing me from viewing the results in the GUI. I'd also like to execute the code line by line to add and delete links or other settings, but this issue makes it inconvenient.
I'd be really grateful if the experts could provide some insights.