Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: tdant

well we are getting somewhere...

 

So my first issue is that I was trying all these from external rules. Which is what I want in the end rather than having to browse for this rule every time i make a part. I am also not allowed to change our part templates here.. forbidden.

 

My other issue is that I get a new cryptic error that I don't know where to begin with..

 

Error:

Error in rule: Rule1, in document: test.iam

Object reference not set to an instance of an object.

 

More Info:

System.NullReferenceException: Object reference not set to an instance of an object.
   at LmiRuleScript.Main()
   at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
   at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)