- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a dilemma related to this topic. I am running an Inventor Addin using Forge DA for Inventor. If I set the Autodesk.Inventor.Interop Embed Interop Types to "False" I get this error:
[10/30/2020 02:19:40] Could not load file or assembly 'Autodesk.Inventor.Interop, Version=25.1.0.0, Culture=neutral, PublicKeyToken=[some key]' or one of its dependencies. The system cannot find the file specified.
[10/30/2020 02:19:41] End Inventor Core Engine standard output dump.
[10/30/2020 02:19:41] Error: Application InventorCoreConsole.exe exits with code -1 which indicates an error.
[10/30/2020 02:19:41] End script phase.
[10/30/2020 02:19:41] Error: An unexpected error happened during phase CoreEngineExecution of job.
[10/30/2020 02:19:41] Job finished with result FailedExecution
However I want to use the parameter.get_Units() method. If I set it to "True" It runs but throws the "member not found" exception.
Any advice
Thanks,