<?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: PI returning value for 10*PI in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8591234#M195268</link>
    <description>&lt;P&gt;Hi! PI should be unitless. I don't understand why when a mm parameter equals to PI, the value is 31.416mm. I think it is an equation parser's bug.&lt;/P&gt;
&lt;P&gt;The results in the image you attached are interesting. The upper one is due to inconsistent units. The parameter is set to be mm unit but the result is actually mm^2. You will see erroneous result.&lt;/P&gt;
&lt;P&gt;The lower one is correct since the units are in sync.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 21:29:58 GMT</pubDate>
    <dc:creator>johnsonshiue</dc:creator>
    <dc:date>2019-02-12T21:29:58Z</dc:date>
    <item>
      <title>PI returning value for 10*PI</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8590047#M195265</link>
      <description>&lt;P&gt;I am using PI in a parameter but when I got my final calculation the value seemed a bit off. I checked on paper and turned out it was. I went through each of the expressions on the formula and narrowed the problem down to PI being off by a factor of 10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone else have this problem?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm on Inventor Professional 2018&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pi value.PNG" style="width: 856px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/602077i02657837D2E812C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pi value.PNG" alt="pi value.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:57:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8590047#M195265</guid>
      <dc:creator>m.reyes74B3T</dc:creator>
      <dc:date>2019-02-12T13:57:00Z</dc:date>
    </item>
    <item>
      <title>Betreff: PI returning value for 10*PI</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8590077#M195266</link>
      <description>&lt;P&gt;I can see it, too.&lt;/P&gt;
&lt;P&gt;I think, it's caused by Inventor's calculation base in cm.&lt;/P&gt;
&lt;P&gt;Normally, PI can not be inserted in mm, only unitless (ul). It's ok there.&lt;/P&gt;
&lt;P&gt;But after switching unit from ul to mm after that, factor 10 appears.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 14:04:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8590077#M195266</guid>
      <dc:creator>WHolzwarth</dc:creator>
      <dc:date>2019-02-12T14:04:59Z</dc:date>
    </item>
    <item>
      <title>Betreff: PI returning value for 10*PI</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8590189#M195267</link>
      <description>&lt;P&gt;Strange that it seemingly randomly chooses to convert to cm or multiply/divide by 10...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even in a full formula it's still off by a factor of 10.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="still wrong.PNG" style="width: 644px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/602110iF27527AE2AEFD3BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="still wrong.PNG" alt="still wrong.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However when I change the mm to mm^2 (as it should be), it now returns the correct value.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="now right.PNG" style="width: 700px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/602111i405175200A7491B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="now right.PNG" alt="now right.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found an alternative method to do what I wanted to do (calculate tube length using volume and cross sectional area) by writing the equations in iLogic rather than doing all the calculations in parameters. Turns out that it ended up being a lot cleaner and I can easily use the new custom iProperty on my drawings!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iLogic method.PNG" style="width: 631px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/602104i17BE19C0D095B215/image-size/large?v=v2&amp;amp;px=999" role="button" title="iLogic method.PNG" alt="iLogic method.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 14:49:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8590189#M195267</guid>
      <dc:creator>m.reyes74B3T</dc:creator>
      <dc:date>2019-02-12T14:49:39Z</dc:date>
    </item>
    <item>
      <title>Betreff: PI returning value for 10*PI</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8591234#M195268</link>
      <description>&lt;P&gt;Hi! PI should be unitless. I don't understand why when a mm parameter equals to PI, the value is 31.416mm. I think it is an equation parser's bug.&lt;/P&gt;
&lt;P&gt;The results in the image you attached are interesting. The upper one is due to inconsistent units. The parameter is set to be mm unit but the result is actually mm^2. You will see erroneous result.&lt;/P&gt;
&lt;P&gt;The lower one is correct since the units are in sync.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 21:29:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8591234#M195268</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2019-02-12T21:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: PI returning value for 10*PI</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8717046#M195269</link>
      <description>I, a beginner,  struggled to enter either a unitless or distance value of PI.  I needed 3.14159... mm.
After a bit of a struggle I found that 

    isolate(PI rad;rad;mm)

worked. Remember to use semicolons as separators, not commas!

By extension, this ugly formula yields a unitless value for pi:

     isolate(isolate(PI rad;rad;mm);mm;ul)

There must be a better way!</description>
      <pubDate>Tue, 09 Apr 2019 10:19:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8717046#M195269</guid>
      <dc:creator>rst65D25</dc:creator>
      <dc:date>2019-04-09T10:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: PI returning value for 10*PI</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8717507#M195270</link>
      <description>PI is unitless, so there is no need to do a double Isolate function.  Also, if you need π mm, then the easiest method is simply PI * 1 mm.

SamB</description>
      <pubDate>Tue, 09 Apr 2019 13:36:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8717507#M195270</guid>
      <dc:creator>SBix26</dc:creator>
      <dc:date>2019-04-09T13:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: PI returning value for 10*PI</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8718135#M195271</link>
      <description>Well, that is certainly much easier!&lt;BR /&gt;Thank you very much.&lt;BR /&gt;My confusion partially arose because you can enter 'PI rad' to an angle edit box. But you can't enter just 'PI mm' into a distance edit box.  This made me think the PI must be an angle, so I would have to perform a typecast.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2019 16:37:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/pi-returning-value-for-10-pi/m-p/8718135#M195271</guid>
      <dc:creator>rst65D25</dc:creator>
      <dc:date>2019-04-09T16:37:04Z</dc:date>
    </item>
  </channel>
</rss>

