- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, It's been a while since I wrote iLogic code and I'm running into an error every time I execute the rule from within the top assembly. The rule looks for a parameter change. Individual parts and subassemblies are then changed also, and the top assembly updates. I have a subassembly that is throwing up the error in my rule. I have looked into the subassembly for typo's or other mistakes and cannot figure where the problem is. The rule in the top assembly gives me the following error:
System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.Parameter.set_Value(Object )
at iLogic.ParamDynamicFinder.SetParamValue(Parameter param, Object value, Boolean doUpdate)
at ThisRule.Main() in rule: FEED_ACCEPT_ONLY_CHANGE, in document LW100-FEED-ACCEPT.iam:line 9
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
Is there anything specific I should be looking for in the subassembly?
I'm running:
Inventor 2022 64 Bit
Build 350, Release 2022.3
Solved! Go to Solution.