I have an assembly model that I have a iLogic routine in.
It's been working right along but all of a sudden it stopped working at this code...
Dim oAsmCompDef As AssemblyComponentDefinition
oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition
the error info is...
System.Runtime.InteropServices.COMException (0x80020003): Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at LmiRuleScript.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
It no longer works in any assembly not just the original one.
Please help!
Solved! Go to Solution.
Solved by meck. Go to Solution.
I just restarted Inventor and it now works again.
Which makes me glad and sad at the same time. I should have thought of this first before posting, but didn't think it would matter.
Let that be a lesson to us all... Restart before posting.
Sorry to bother yall.
Peace!
Indeed. Sometimes restarting Inventor is enough and others times rebooting the computer is nessesary.
Early in my Inventor career I would get some "bizare catastrophic errors" and Autodesk would say "Did you reboot yet?"
Funny thing, I was retrieving some Legacy Pro/E data the other day and had a "bizare catastrophic error" in there as well and I asked our Pro/E expert and he's like "I have no idea, but reboot will fix it", Haha