Execute standalone app from Add-In and pass it the Inventor Application object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
sorry if this question has already been asked, could not find an answer.
I want to start (execute) my Stand-Alone Application from an Add-In (e.g. by pressing a button.) and pass the current Inventor Application object to my stand alone app, so that i can do some work over there. Is there any way to do this ?
I need this to work for cases where multiple inventor processes are running. if it were only a single one i could start my Stand Alone app and have it get the inventor application object via GetActiveObject. But I have not figured out yet how to get the application objects if multiple inventor processes are running .
If I could get a list of all active inventor applications, an idea would be have the addin set a flag to "mark the instance from which the user pressed the button" , then have my stand alone app call an interface method defined in my add in on all active inventor instances to select the correct application object by returning the state of the flag.
Maybe there is a simpler solution?
Thanks in advance!

