Registration of SimulationX for COM interop

You are using SimulationX via the COM interface and are encountering one of the following problems:
  • 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.
Creation date: 07/09/2016 10:51 ()      Updated: 26/11/2024 10:17 (andre.bernhardt)