- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Ilogic error rebuild all
Hi
I'm having problems with this:
I made a rule including only this line:
ThisApplication.ActiveDocument.Rebuild()When I run this Rule I get the following error:
Error in rule: Rule19, in document: 03543.iam
Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
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._DocumentClass.Rebuild()
at ThisRule.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
Can somebody explain where this error comes from?
I used this rule because I don't want to have to click the rebuild all button all the time.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Please provide non confidential assembly to check the iLogic code.
Thanks and regards,
CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network
