1 comment

  • Avatar
    Kevin Pilgrim

    Hi, I've just used your integer rule as a basis for a rule I've written, sometimes it works and sometimes it returns the following error (see below)

    did you come across this problem with any of your part files / can you suggest a reason why the code would work in one part file and not another. Many Thanks!

    Error in rule: Add Area Parameter, in document: 1805 11 dwrside LH.ipt

    Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

    and under more info:

    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 Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
    at LmiRuleScript.Main()
    at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
    at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

Please sign in to leave a comment.