<?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 IF function in Parameters in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13639798#M450</link>
    <description>&lt;P&gt;It would be a very good thing if it was possible to use the "IF" function when specifying the values ​​of the parameters. In many cases this would help the work. There are components where, for example, the pattern should be bound to a condition, this is very difficult or not possible at all without the "IF".&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 08:28:26 GMT</pubDate>
    <dc:creator>spi82UU6</dc:creator>
    <dc:date>2025-05-20T08:28:26Z</dc:date>
    <item>
      <title>IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13639798#M450</link>
      <description>&lt;P&gt;It would be a very good thing if it was possible to use the "IF" function when specifying the values ​​of the parameters. In many cases this would help the work. There are components where, for example, the pattern should be bound to a condition, this is very difficult or not possible at all without the "IF".&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 08:28:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13639798#M450</guid>
      <dc:creator>spi82UU6</dc:creator>
      <dc:date>2025-05-20T08:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13639859#M451</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;It's possible. You can do it all with iLogic.&lt;/P&gt;
&lt;P&gt;iLogic allows both assigning conditional values ​​and linking parameters between files, which is useful e.g. in the above-mentioned patterns.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 09:03:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13639859#M451</guid>
      <dc:creator>kacper.suchomski</dc:creator>
      <dc:date>2025-05-20T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13641151#M452</link>
      <description>&lt;P&gt;Hi! There is a way to write a parametric expression to do "if, then" but it largely depends on the complexity of the condition. Please share an example of the desirable "if, then." I would like to see if there is a parametric expression solution without using an iLogic rule.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 19:49:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13641151#M452</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2025-05-20T19:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13641787#M453</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need only a simple if/then solution.&lt;BR /&gt;&lt;BR /&gt;A = 10 mm&lt;BR /&gt;B = if "A=10" then "B=12" else "B=15"&lt;BR /&gt;&lt;BR /&gt;Or&lt;BR /&gt;&lt;BR /&gt;B = if(A=10;12;15) like in Excel &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;That's all.&lt;BR /&gt;Have a nice day,&lt;BR /&gt;Sandor&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2025 06:07:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13641787#M453</guid>
      <dc:creator>spi82UU6</dc:creator>
      <dc:date>2025-05-21T06:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13642107#M454</link>
      <description>&lt;LI-CODE lang="general"&gt;If A=10 Then
B=12
Else
B=15
End If&lt;/LI-CODE&gt;
&lt;P&gt;You can paste this code into an iLogic rule.&lt;/P&gt;
&lt;P&gt;Of course, you must replace the symbols with the actual names of the parameters.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 08:26:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13642107#M454</guid>
      <dc:creator>kacper.suchomski</dc:creator>
      <dc:date>2025-05-21T08:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13642324#M455</link>
      <description>&lt;P&gt;Other users have shown previously creative ways to compensate for that...&lt;/P&gt;&lt;P&gt;In your case the B would be:&lt;/P&gt;&lt;P&gt;( 1 ul - sign(abs(A1 - 10 mm) - 0.001 mm) ) * 12 mm + sign(abs(A1 - 10 mm) - 0.001 mm) * 15 mm&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 10:31:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13642324#M455</guid>
      <dc:creator>aurel_e</dc:creator>
      <dc:date>2025-05-21T10:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13643297#M456</link>
      <description>&lt;P&gt;Hi! There is a simpler equation to use for this case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B=sign(( A / 1mm - 10 ul )) * 3mm + 12mm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 21:05:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13643297#M456</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2025-05-21T21:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13643721#M457</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/486618"&gt;@johnsonshiue&lt;/a&gt;&amp;nbsp;This is resulting 12 for A&amp;lt;10.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 05:24:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13643721#M457</guid>
      <dc:creator>aurel_e</dc:creator>
      <dc:date>2025-05-22T05:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13645281#M458</link>
      <description>&lt;P&gt;In&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/486618"&gt;@johnsonshiue&lt;/a&gt;&amp;nbsp;'s equation, just add the absolute value:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;B=sign(abs( A / 1mm - 10 ul )) * 3mm + 12mm&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;B is 15 unless A is exactly 10.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I, too, thought that the sign function would return -1 for negative, 0 for 0, and +1 for positive, but that's not the case; it returns +1 for &amp;gt; 0, 0 for &amp;lt;= 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;P style="font-size: 14px;"&gt;&lt;STRONG&gt;Sam B&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 11px;"&gt;Inventor Pro 2026.0.1 | Windows 11 Home 24H2&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="autodesk-expert-elite-member-logo-1line-rgb-black.png" style="width: 200px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/962943iDF6D27C26CA3B56D/image-size/small?v=v2&amp;amp;px=200" role="button" title="autodesk-expert-elite-member-logo-1line-rgb-black.png" alt="autodesk-expert-elite-member-logo-1line-rgb-black.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 19:33:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13645281#M458</guid>
      <dc:creator>SBix26</dc:creator>
      <dc:date>2025-05-22T19:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: IF function in Parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13645838#M459</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 06:00:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/if-function-in-parameters/m-p/13645838#M459</guid>
      <dc:creator>spi82UU6</dc:creator>
      <dc:date>2025-05-23T06:00:19Z</dc:date>
    </item>
  </channel>
</rss>

