<?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 Betreff: Using conditional expression in parameters in Fusion Design, Validate &amp; Document Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831255#M68344</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For the arrangement of hinges in cabinets I used the workaround demonstrated in the &lt;A href="https://autode.sk/3pgR3W9" target="_blank" rel="noopener"&gt;screencast.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;günther&lt;/P&gt;</description>
    <pubDate>Sat, 18 Dec 2021 18:51:14 GMT</pubDate>
    <dc:creator>g-andresen</dc:creator>
    <dc:date>2021-12-18T18:51:14Z</dc:date>
    <item>
      <title>Using conditional expression in parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831191#M68343</link>
      <description>&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to calculate the depth of a drawer based on the hardware that can fit into the box containing the drawer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The hardware comes in different sizes (250mm, 280mm, 300mm,...) and I need to use a conditional expression to 1st determine the hardware which can fit in the box and then calculate the depth of the drawer based on the hardware dimensions. In conventional language, I would use a "case of" or "if ... elsif... else" xpression to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I emulate this in anyway within Fusion 360 ? I'm not sure we can create user defined function using the extension API in such a way they can be used in the Design environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In between, I will do it manually (which isn't a big deal either...).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 17:52:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831191#M68343</guid>
      <dc:creator>tdesve</dc:creator>
      <dc:date>2021-12-18T17:52:11Z</dc:date>
    </item>
    <item>
      <title>Betreff: Using conditional expression in parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831255#M68344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For the arrangement of hinges in cabinets I used the workaround demonstrated in the &lt;A href="https://autode.sk/3pgR3W9" target="_blank" rel="noopener"&gt;screencast.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;günther&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 18:51:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831255#M68344</guid>
      <dc:creator>g-andresen</dc:creator>
      <dc:date>2021-12-18T18:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using conditional expression in parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831329#M68345</link>
      <description>&lt;P&gt;You can mimick some of conditional expressions using sign, min, max and other math tricks. See:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cadforum.cz/en/how-to-use-conditional-parameter-values-in-fusion-360-tip12638" target="_blank"&gt;https://www.cadforum.cz/en/how-to-use-conditional-parameter-values-in-fusion-360-tip12638&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.arkance-systems.cz" target="_blank"&gt;www.arkance-systems.cz&lt;/A&gt; - &lt;A href="http://www.cadforum.cz" target="_blank"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 19:59:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831329#M68345</guid>
      <dc:creator>vladimir_michl</dc:creator>
      <dc:date>2021-12-18T19:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using conditional expression in parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831363#M68346</link>
      <description>&lt;P&gt;Thanks Günther, I got the idea ! That will work ! Thanks for taking the time to help me !&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 20:08:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831363#M68346</guid>
      <dc:creator>tdesve</dc:creator>
      <dc:date>2021-12-18T20:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using conditional expression in parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831364#M68347</link>
      <description>&lt;P&gt;Thanks Vladimir ! Complements what Günther proposed. I will make it work that way ! Excellent !&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 20:10:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831364#M68347</guid>
      <dc:creator>tdesve</dc:creator>
      <dc:date>2021-12-18T20:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using conditional expression in parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831975#M68348</link>
      <description>&lt;P&gt;Here is the final approach...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each hardware has a nominal length (NL). Drawer will be smaller than that. And NL needs to fit in the box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The approach works smoothly ! Thanks !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2021-12-19 à 10.37.44.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1003061i15745A39A5051CD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2021-12-19 à 10.37.44.png" alt="Capture d’écran 2021-12-19 à 10.37.44.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With that, I can automate drawer size calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day,&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 09:41:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/using-conditional-expression-in-parameters/m-p/10831975#M68348</guid>
      <dc:creator>tdesve</dc:creator>
      <dc:date>2021-12-19T09:41:59Z</dc:date>
    </item>
  </channel>
</rss>

