Message 1 of 2
Get refrence to Inventor application with Mono

Not applicable
03-24-2016
03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I've made kind of product configurator in Unity3D.
Now I want the windows version of this configurator to communicate with Inventor.
My first attempt was:
Inventor.Application InventorAplication = System.Runtime.InteropServices.Marshal.GetActiveObject ("Inventor.Application");
But Unity uses Mono and if you take al ook in the Mono sourcecode:
public static object GetActiveObject (string progID) { throw new NotImplementedException (); }
I also tried this:
Inventor.Application InventorAplication = System.Diagnostics.Process.Start ("C:\\Program Files\\Autodesk\\Inventor 2016\\Bin\\Inventor.exe");
But I didn't manage to get the casting right.
Does anyone know if or how its possible to get a reference to an Inventor application with Mono?