Registration of SimulationX for COM interop
You are using SimulationX via the COM interface and are encountering one of the following problems:
Oftentimes this problem occurs after a new installation of SimulationX for example after updating to a new version. The first thing you should do is ensure SImulationX is correctly registered for COM interop. You will have to start a console in Admin mode to perform the following commands.
First, completely unregister SimulationX:
- You are able to retrieve a SimulationX application object but although you have opened a model, you cannot see it in the ActiveDocument getter or the Documents collection
- You cannot start SimulationX through the COM interface
- You can start SimulationX through the COM interface but it's not the correct variant (either 32 or 64 bit)
- You have opened SimulationX but starting it via COM results in a new instance being launched
- You see "invisible" SimulationX tasks in the Task Manager
Oftentimes this problem occurs after a new installation of SimulationX for example after updating to a new version. The first thing you should do is ensure SImulationX is correctly registered for COM interop. You will have to start a console in Admin mode to perform the following commands.
First, completely unregister SimulationX:
"C:\Program Files\ESI Group\SimulationX 4.5\simulationx.exe" /unregserver
And then register it again:
"C:\Program Files\ESI Group\SimulationX 4.5\simulationx.exe" /regserver
Now please Start SimulationX again and check your workflow.