<?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: Unit less Parameter string length of value in Fusion Support Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-support-forum/unit-less-parameter-string-length-of-value/m-p/12354404#M26694</link>
    <description>&lt;P&gt;thanks for the reply I managed to work something out for what I was doing using the following logic&lt;BR /&gt;&lt;BR /&gt;( if(myVar1 &amp;lt;= 999; 70; if(myVar1 &amp;gt; 9999; 40; if(myVar1 &amp;gt;= 1000; 55; 0))) ) * 1 mm&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Nov 2023 21:54:30 GMT</pubDate>
    <dc:creator>condrovic1980</dc:creator>
    <dc:date>2023-11-04T21:54:30Z</dc:date>
    <item>
      <title>Unit less Parameter string length of value</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/unit-less-parameter-string-length-of-value/m-p/12354058#M26692</link>
      <description>&lt;P&gt;I am trying to build a parametric model as a template. I am trying to determine the length of a variable which is unit less. I am not trying to find the actual physical length but more the variable's character length, much like you would do using the len(string) function is say python. Ex: myVarOne = 123, len = 3, myVarOne = 1234, len = 4 etc. So based on that I am trying to set another variable which has a unit. But currently it doesn't seem like there is a way to have a string and get the length.&lt;BR /&gt;&lt;BR /&gt;Example would be something like this&lt;BR /&gt;&lt;BR /&gt;myVarOne = 123&lt;/P&gt;&lt;P&gt;myVarTwo =&lt;BR /&gt;if len(myVarOne) &amp;lt;=3 then 70&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;if (len(myVarOne) &amp;gt; 4 then 40&lt;/P&gt;&lt;P&gt;if(len(myVarOne) = 4 then 55&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2023 16:19:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/unit-less-parameter-string-length-of-value/m-p/12354058#M26692</guid>
      <dc:creator>condrovic1980</dc:creator>
      <dc:date>2023-11-04T16:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unit less Parameter string length of value</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/unit-less-parameter-string-length-of-value/m-p/12354133#M26693</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;might help&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="if statemant_myvar.png" style="width: 539px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1288396i5829CE5D969B1C8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="if statemant_myvar.png" alt="if statemant_myvar.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;günther&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2023 17:09:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/unit-less-parameter-string-length-of-value/m-p/12354133#M26693</guid>
      <dc:creator>g-andresen</dc:creator>
      <dc:date>2023-11-04T17:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unit less Parameter string length of value</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/unit-less-parameter-string-length-of-value/m-p/12354404#M26694</link>
      <description>&lt;P&gt;thanks for the reply I managed to work something out for what I was doing using the following logic&lt;BR /&gt;&lt;BR /&gt;( if(myVar1 &amp;lt;= 999; 70; if(myVar1 &amp;gt; 9999; 40; if(myVar1 &amp;gt;= 1000; 55; 0))) ) * 1 mm&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2023 21:54:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/unit-less-parameter-string-length-of-value/m-p/12354404#M26694</guid>
      <dc:creator>condrovic1980</dc:creator>
      <dc:date>2023-11-04T21:54:30Z</dc:date>
    </item>
  </channel>
</rss>

