<?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: Creating a Parameter Equation with iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/creating-a-parameter-equation-with-ilogic/m-p/7836164#M81598</link>
    <description>&lt;P&gt;Parameter("THK_Fractional") = "Thickness"&lt;/P&gt;</description>
    <pubDate>Wed, 07 Mar 2018 21:04:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-07T21:04:04Z</dc:date>
    <item>
      <title>Creating a Parameter Equation with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/creating-a-parameter-equation-with-ilogic/m-p/7836036#M81596</link>
      <description>&lt;P&gt;I'm working on an iLogic rule that sets up various parameters and iProperties based on whether or not the part is Sheet Metal.&amp;nbsp; I have the bulk of it working, but have stumbled across something that I didn't think would be all that difficult, but apparently don't know how to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a parameter called "THK_Fractional", which needs to be set either equal to the "Thickness" parameter or set to zero, based on some If/Then logic.&amp;nbsp; I actually need the parameter set equal (as though through the Parameters dialog box).&amp;nbsp; Transferring the value from one parameter to the other using iLogic code isn't going to work well here, because the rule is basically a setup tool rather than something that runs repeatedly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried what I thought was obvious, but apparently it's not that simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;THK_Fractional = "=Thickness"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This gives an error because of converting a string to a double.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone show how to do this?&amp;nbsp; It doesn't seem like it should be difficult, but clearly I'm missing something.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 20:23:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/creating-a-parameter-equation-with-ilogic/m-p/7836036#M81596</guid>
      <dc:creator>jtylerbc</dc:creator>
      <dc:date>2018-03-07T20:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Parameter Equation with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/creating-a-parameter-equation-with-ilogic/m-p/7836164#M81598</link>
      <description>&lt;P&gt;Parameter("THK_Fractional") = "Thickness"&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 21:04:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/creating-a-parameter-equation-with-ilogic/m-p/7836164#M81598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-07T21:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Parameter Equation with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/creating-a-parameter-equation-with-ilogic/m-p/7836246#M81600</link>
      <description>&lt;P&gt;As suspected - not difficult, but was missing something.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 21:28:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/creating-a-parameter-equation-with-ilogic/m-p/7836246#M81600</guid>
      <dc:creator>jtylerbc</dc:creator>
      <dc:date>2018-03-07T21:28:20Z</dc:date>
    </item>
  </channel>
</rss>

