<?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: min() max() parameter toggle positive/negative in Fusion Design, Validate &amp; Document Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287416#M55572</link>
    <description>&lt;P&gt;Thankyou&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2022 17:20:29 GMT</pubDate>
    <dc:creator>nClarke0101</dc:creator>
    <dc:date>2022-07-09T17:20:29Z</dc:date>
    <item>
      <title>min() max() parameter toggle positive/negative</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287260#M55568</link>
      <description>&lt;P&gt;I am trying to use user parameters to toggle between a positive and negative value&lt;/P&gt;&lt;P&gt;When toggle is on 1 the offset value should be 37mm&lt;/P&gt;&lt;P&gt;Then when toggle is set to 0 offset should change to -37mm&lt;/P&gt;&lt;P&gt;Currently when the offset just changes from 0mm - 37mm&lt;/P&gt;&lt;P&gt;Is it possible to do this with a math function?&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="Screenshot 2022-07-09 233816.png" style="width: 971px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1089719i95E524EFD00FD969/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-07-09 233816.png" alt="Screenshot 2022-07-09 233816.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 14:08:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287260#M55568</guid>
      <dc:creator>nClarke0101</dc:creator>
      <dc:date>2022-07-09T14:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: min() max() parameter toggle positive/negative</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287386#M55569</link>
      <description>&lt;P&gt;I'd only use basic math if the value is the same and only the sign changes.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="toggleNegPos.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1089733iB7610C9F875CDDCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="toggleNegPos.jpg" alt="toggleNegPos.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 16:44:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287386#M55569</guid>
      <dc:creator>KristianLaholm</dc:creator>
      <dc:date>2022-07-09T16:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: min() max() parameter toggle positive/negative</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287398#M55570</link>
      <description>&lt;P&gt;That seems good, only problem is that if the toggle is set higher then one could bring problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to work though&lt;/P&gt;&lt;P&gt;min(max(( ( 37 * ( 2 * toggle - 1 ) ) * 1 mm ); -37 mm); 37 mm)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not to good with my math.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 17:02:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287398#M55570</guid>
      <dc:creator>nClarke0101</dc:creator>
      <dc:date>2022-07-09T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: min() max() parameter toggle positive/negative</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287412#M55571</link>
      <description>&lt;P&gt;The sign() function is an easy error checker in this case.&lt;BR /&gt;Anything &amp;lt;=0 will return 0, anything &amp;gt; 0 will return 1.&lt;/P&gt;&lt;P&gt;And your solution with min/max looks correct.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="toggle witherrorcheck.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1089736i61A64826357927C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="toggle witherrorcheck.jpg" alt="toggle witherrorcheck.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But your solution with min/max looks correct.&lt;/P&gt;&lt;P&gt;Use the one you find easy to remember, if you need to go back and edit the file.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 17:14:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287412#M55571</guid>
      <dc:creator>KristianLaholm</dc:creator>
      <dc:date>2022-07-09T17:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: min() max() parameter toggle positive/negative</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287416#M55572</link>
      <description>&lt;P&gt;Thankyou&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 17:20:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/min-max-parameter-toggle-positive-negative/m-p/11287416#M55572</guid>
      <dc:creator>nClarke0101</dc:creator>
      <dc:date>2022-07-09T17:20:29Z</dc:date>
    </item>
  </channel>
</rss>

