<?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: Error message when using iLogic that was configured on a 2019 Inventor version. in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209726#M157122</link>
    <description>&lt;P&gt;I created a rule that ran line 88, I got no error. See attached video (iLogic Test Run)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, when I first open the assembly, if I scale the structure with iLogic, saving does not actually save the assembly. If I click exit, it prompts me to save, when I click yes, Inventor crashes and asks me to send a crash report. See attached video recording (iLogic crash) of the process. So there is clearly an issue with the save feature of this assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure how to print the value with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Info(FanModelSize)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Where do I run it and where is it printed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 14:31:09 GMT</pubDate>
    <dc:creator>bmarjaba</dc:creator>
    <dc:date>2023-08-31T14:31:09Z</dc:date>
    <item>
      <title>Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12207693#M157072</link>
      <description>&lt;P&gt;&lt;SPAN&gt;iLogic was configured by someone who is using Inventor 2019. The code is meant to scale the structure according to an input of a fan size. When the fan size is selected, clicking "update" yields this error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error on line 88 in rule: Main Update, in document: ___.iam Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 18:31:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12207693#M157072</guid>
      <dc:creator>bmarjaba</dc:creator>
      <dc:date>2023-08-30T18:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12207711#M157073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13702814"&gt;@bmarjaba&lt;/a&gt;.&amp;nbsp; You are going to need to provide a lot more details than that if you are expecting instructions on how to fix the error.&amp;nbsp; Can you post the whole code here, either within a code window of the response, or as an attached text file (preferred).&amp;nbsp; And what is the code's task (what is the purpose of the code?...What is it trying to do?)?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 18:39:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12207711#M157073</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-08-30T18:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12207871#M157080</link>
      <description>&lt;P&gt;Hello. The model is of the structure of a fan assembly. The purpose of the iTrigger is to scale the structure according to the diameter of the fan, which is the input of the trigger. The inputs are 15", 16", 18", 20", until 30", as shown in the attached screenshot.&lt;BR /&gt;&lt;BR /&gt;Once I received the model, which was designed and had its iLogic configured in Inventor 2019, I was able to run the rule with no issues. I added some holes to some parts, then saved the assembly, then tried to run the iLogic rule again by selecting a different diameter size fan, and the error popped up. I then commented out line 88 in the code, and the code ran with no issues, but of course, not all of it scaled because line 88 was commented out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the code and 2 screenshots. Line 88 is: &lt;EM&gt;Parameter("Fan", "FanModelSize") = FanModelSize&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 20:00:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12207871#M157080</guid>
      <dc:creator>bmarjaba</dc:creator>
      <dc:date>2023-08-30T20:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12208624#M157088</link>
      <description>&lt;P&gt;any modelstate in assembly file ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards Johan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 05:39:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12208624#M157088</guid>
      <dc:creator>rickard</dc:creator>
      <dc:date>2023-08-31T05:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209040#M157096</link>
      <description>&lt;P&gt;something you can try:&lt;BR /&gt;1. If you suppress that rule and create another rule that just runs that line, you get the same error?&lt;/P&gt;&lt;P&gt;2. Please print the value of&amp;nbsp;&lt;EM&gt;FanModelSize&amp;nbsp;&lt;/EM&gt;parameter with this line:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Info(FanModelSize)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;3. If you create a rule inside the fan document that set the parameter with value printed in the previous point, you get an error?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:41:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209040#M157096</guid>
      <dc:creator>CattabianiI</dc:creator>
      <dc:date>2023-08-31T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209557#M157110</link>
      <description>nope</description>
      <pubDate>Thu, 31 Aug 2023 13:25:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209557#M157110</guid>
      <dc:creator>bmarjaba</dc:creator>
      <dc:date>2023-08-31T13:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209707#M157119</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13702814"&gt;@bmarjaba&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you show the more info tab of the error message? Tab shows a generic error message and tab 2 has the actual information of what went wrong. From line 88 as others have pointed out one of those parameters check the value of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Parameter("Fan", "FanModelSize")&amp;nbsp; &lt;/EM&gt;and the value of&lt;EM&gt; "FanModelSize".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;One of those parameters is at fault.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:32:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209707#M157119</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2023-08-31T14:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209714#M157120</link>
      <description>Yes here it is:&lt;BR /&gt;&lt;BR /&gt;System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))&lt;BR /&gt;at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)&lt;BR /&gt;at Inventor.Parameter.set_Value(Object )&lt;BR /&gt;at iLogic.ParamDynamicFinder.SetParamValueInner(Parameter param, Object value, Boolean doUpdate)&lt;BR /&gt;at iLogic.ParamDynamicFinder.SetParamValue(Parameter param, Object value, Boolean doUpdate)&lt;BR /&gt;at ThisRule.Main() in rule: Test, in document NewR&amp;amp;D_FanArray.iam:line 1&lt;BR /&gt;at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)&lt;BR /&gt;at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)</description>
      <pubDate>Thu, 31 Aug 2023 14:25:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209714#M157120</guid>
      <dc:creator>bmarjaba</dc:creator>
      <dc:date>2023-08-31T14:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209726#M157122</link>
      <description>&lt;P&gt;I created a rule that ran line 88, I got no error. See attached video (iLogic Test Run)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, when I first open the assembly, if I scale the structure with iLogic, saving does not actually save the assembly. If I click exit, it prompts me to save, when I click yes, Inventor crashes and asks me to send a crash report. See attached video recording (iLogic crash) of the process. So there is clearly an issue with the save feature of this assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure how to print the value with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Info(FanModelSize)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Where do I run it and where is it printed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:31:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209726#M157122</guid>
      <dc:creator>bmarjaba</dc:creator>
      <dc:date>2023-08-31T14:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209740#M157123</link>
      <description>&lt;P&gt;I'm thinking it can't find the parameter within the part called "fan". Can you verify that the part is in the assembly and not in a sub assembly and that the parameter exists?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:36:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209740#M157123</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2023-08-31T14:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209749#M157124</link>
      <description>&lt;P&gt;The error information suggests that the error is happening at one of the Parameter("", "")=&amp;nbsp; type of lines of code.&amp;nbsp; Here is a link to the online help page for that iLogic snippet:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=3dfb2e63-5750-d8a2-6d5c-5ae6bb99b9f9" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=3dfb2e63-5750-d8a2-6d5c-5ae6bb99b9f9&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first input of the two, should either be the name of an assembly component, exactly as it is in the model browser, which can usually be obtained from the ComponentOccurrence.Name property.&amp;nbsp; And if specifying a referenced document, instead of an assembly component, you can usually use the Document.DisplayName value of the document, but that doesn't always work 100% of the time either.&amp;nbsp; The DisplayName is a bit unstable, because it is a Read/Write property, and sometimes it contains the file extension, and sometimes it does not.&amp;nbsp; If it is the first input section of the Parameter() call that is causing problems, maybe try using API code instead of that iLogic snippet.&amp;nbsp; The API way goes through the Document.ComponentDefinition.Parameters.Item("ParameterName").Value route.&amp;nbsp; But those values are 'database units' instead of document or parameter units, so that can be a little annoying.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:39:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209749#M157124</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-08-31T14:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209762#M157125</link>
      <description>&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I'm not sure how to print the value&lt;BR /&gt;Just add that line in a rule. Open the ilogic log tab. Run the rule. &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inventor_MALXUSwnV1.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1260494i13CBB215B6B9198C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Inventor_MALXUSwnV1.png" alt="Inventor_MALXUSwnV1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:43:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12209762#M157125</guid>
      <dc:creator>CattabianiI</dc:creator>
      <dc:date>2023-08-31T14:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when using iLogic that was configured on a 2019 Inventor version.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12227594#M157414</link>
      <description>&lt;P&gt;Thank you everyone for your input. I temporarily switched back to v2019 in order to get rid of these errors because I was in a rush to continue the project. However,&amp;nbsp;I will look into all of these suggestions soon when I switch back to 2024.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 14:31:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-message-when-using-ilogic-that-was-configured-on-a-2019/m-p/12227594#M157414</guid>
      <dc:creator>bmarjaba</dc:creator>
      <dc:date>2023-09-08T14:31:33Z</dc:date>
    </item>
  </channel>
</rss>

