<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ilogic scale rule error in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-scale-rule-error/m-p/3255208#M138646</link>
    <description>&lt;P&gt;I'm having the same problem. Try as I might, I've been unable to duplicate the error in a simple model &amp;amp; drawing package&amp;nbsp;that I could share with the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noted the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The error occurs ONLY when I have my "Rescale" rule&amp;nbsp;triggered to run with "After Open".&lt;/LI&gt;&lt;LI&gt;The error occurs&amp;nbsp;in my template drawing, which references a&amp;nbsp;template skeletal model. After subsequently&amp;nbsp;modifying the template model with iLogic, I get the error message when opening the drawing. It works fine with the original template model, and I can run the rule manually after the drawing is opened without any trouble.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It seems that the rule&amp;nbsp;is auto-firing before the drawing and/or model have fully loaded, and Inventor complains that it can't access the info it needs (in my case, it might be the referenced model parameter I am accessing in the rule). This error message&amp;nbsp;halts the entire loading process dead in its tracks, and the drawing views fail to update and reflect the changes to the model. I can manually highlight/update each base view, but then dimensions disappear and/or come in crooked and incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the event-trigger is switched off, I can run this rule all day long without issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps narrow down the problem, or at least gets the attention of the people who might be able to help.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2011 14:02:41 GMT</pubDate>
    <dc:creator>SteveX82</dc:creator>
    <dc:date>2011-12-08T14:02:41Z</dc:date>
    <item>
      <title>ilogic scale rule error</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-scale-rule-error/m-p/3195636#M138644</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following error sometime :&lt;/P&gt;&lt;P&gt;iLogic Rule Error in rule: Scale1, in document: _107824000-TEST6.idw&lt;/P&gt;&lt;P&gt;Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.NullReferenceException: Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at LmiRuleScript.Main()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at e.a(String A_0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone what this is?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2011 16:22:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-scale-rule-error/m-p/3195636#M138644</guid>
      <dc:creator>Dan_Margulius</dc:creator>
      <dc:date>2011-10-18T16:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic scale rule error</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-scale-rule-error/m-p/3196990#M138645</link>
      <description>&lt;P&gt;Maybe a picture will help.&lt;/P&gt;&lt;P&gt;&lt;IMG title="ilogic err.png" alt="ilogic err.png" border="0" align="middle" src="http://forums.autodesk.com/t5/image/serverpage/image-id/14806iEBAAA2DA4FCEAAA3/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 15:10:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-scale-rule-error/m-p/3196990#M138645</guid>
      <dc:creator>Dan_Margulius</dc:creator>
      <dc:date>2011-10-19T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic scale rule error</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-scale-rule-error/m-p/3255208#M138646</link>
      <description>&lt;P&gt;I'm having the same problem. Try as I might, I've been unable to duplicate the error in a simple model &amp;amp; drawing package&amp;nbsp;that I could share with the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noted the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The error occurs ONLY when I have my "Rescale" rule&amp;nbsp;triggered to run with "After Open".&lt;/LI&gt;&lt;LI&gt;The error occurs&amp;nbsp;in my template drawing, which references a&amp;nbsp;template skeletal model. After subsequently&amp;nbsp;modifying the template model with iLogic, I get the error message when opening the drawing. It works fine with the original template model, and I can run the rule manually after the drawing is opened without any trouble.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It seems that the rule&amp;nbsp;is auto-firing before the drawing and/or model have fully loaded, and Inventor complains that it can't access the info it needs (in my case, it might be the referenced model parameter I am accessing in the rule). This error message&amp;nbsp;halts the entire loading process dead in its tracks, and the drawing views fail to update and reflect the changes to the model. I can manually highlight/update each base view, but then dimensions disappear and/or come in crooked and incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the event-trigger is switched off, I can run this rule all day long without issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps narrow down the problem, or at least gets the attention of the people who might be able to help.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2011 14:02:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-scale-rule-error/m-p/3255208#M138646</guid>
      <dc:creator>SteveX82</dc:creator>
      <dc:date>2011-12-08T14:02:41Z</dc:date>
    </item>
  </channel>
</rss>

