Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Guys
Before Inventor 2025 we can use the following sample of c# .net code to run the document iLogic rules
in winform with dotnet 4.8
ApplicationAddIn Addins = InventorApplication.ApplicationAddIns.ItemById["{3bdd8d79-2179-4b11-8a5a-257b1c0263ac}"];
if (!Addins.Activated)
Addins.Activate();
dynamic _iLogicAutomation = Addins.Automation;
var Rules = _iLogicAutomation.Rules(doc);
and when we go with Inventor 2025 we get these error :
Message = "Typelib export: Type library is not registered. (Exception from HRESULT: 0x80131165)"
StackTrace = " at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)\r\n at System.Dynamic.ComRuntimeHelpers.GetITypeInfoFromIDispatch(IDispatch dispatch, Boolean throwIfMissingExpectedTypeInfo)\r\n at System.Dyna...
we fail to run iLogic on inventor 2025 and it run correctly in version of 2024 or later
Solved! Go to Solution.