<?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: Board foot calculation in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959831#M134793</link>
    <description>&lt;P&gt;I believe I followed your directions, but It has not populated the Parameters with VolumeBrdFt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See screen captures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&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="cparnellCDZ7D_0-1645217037914.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1027089i182A25ACFF8CF059/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cparnellCDZ7D_0-1645217037914.png" alt="cparnellCDZ7D_0-1645217037914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cparnellCDZ7D_1-1645217192650.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1027091iF201177C763B477B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cparnellCDZ7D_1-1645217192650.png" alt="cparnellCDZ7D_1-1645217192650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 20:50:52 GMT</pubDate>
    <dc:creator>cparnellCDZ7D</dc:creator>
    <dc:date>2022-02-18T20:50:52Z</dc:date>
    <item>
      <title>Board foot calculation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959524#M134788</link>
      <description>&lt;P&gt;We use solid 3/4" oak, maple, hickory and would like to know if someone has a automated way for Inventor to calculate Board Feet. I know the calculation of Board Feet is "Length in. x Width in. x Thickness in.\144 in = Board Feet".&lt;/P&gt;&lt;P&gt;Hopefully something that would adjust when the part changes size. I am guessing something to work in the .ipt file and for a generated solid via Make Component.&lt;/P&gt;&lt;P&gt;Inventor does not have a Volume unit for BrdFt so I am not sure where to go from here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autodesk Inventor 2020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 17:54:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959524#M134788</guid>
      <dc:creator>cparnellCDZ7D</dc:creator>
      <dc:date>2022-02-18T17:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Board foot calculation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959798#M134791</link>
      <description>&lt;P&gt;According to &lt;A href="https://en.wikipedia.org/wiki/Board_foot" target="_blank" rel="noopener"&gt;Wikipedia&lt;/A&gt; 1 BrdFt =&amp;nbsp; 144 in3 Calculating volume in Inches can be done. From there it's easy to BrdFt. That can all be done in an iLogic rule. It will also put the value in a custom iProperty "VolumeBrdFt". You can set this on the event trigger "Any model parameter change". Then it will be updated all the time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JelteDeJong_0-1645216238491.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1027085i6628345607A06EBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JelteDeJong_0-1645216238491.png" alt="JelteDeJong_0-1645216238491.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;volume&lt;/SPAN&gt; = &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Volume&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;side1&lt;/SPAN&gt; = &lt;SPAN&gt;volume&lt;/SPAN&gt; ^ (1/3)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;uom&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;UnitsOfMeasure&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;sideConverted&lt;/SPAN&gt; = &lt;SPAN&gt;uom&lt;/SPAN&gt;.&lt;SPAN&gt;ConvertUnits&lt;/SPAN&gt;(&lt;SPAN&gt;side1&lt;/SPAN&gt;, 
			&lt;SPAN&gt;UnitsTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kDefaultDisplayLengthUnits&lt;/SPAN&gt;, 
			&lt;SPAN&gt;UnitsTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kInchLengthUnits&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;volumeConverted&lt;/SPAN&gt; = (&lt;SPAN&gt;sideConverted&lt;/SPAN&gt; ^ 3) / 144
&lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN&gt;"VolumeBrdFt"&lt;/SPAN&gt;) = &lt;SPAN&gt;volumeConverted&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:31:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959798#M134791</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2022-02-18T20:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Board foot calculation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959831#M134793</link>
      <description>&lt;P&gt;I believe I followed your directions, but It has not populated the Parameters with VolumeBrdFt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See screen captures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&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="cparnellCDZ7D_0-1645217037914.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1027089i182A25ACFF8CF059/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cparnellCDZ7D_0-1645217037914.png" alt="cparnellCDZ7D_0-1645217037914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cparnellCDZ7D_1-1645217192650.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1027091iF201177C763B477B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cparnellCDZ7D_1-1645217192650.png" alt="cparnellCDZ7D_1-1645217192650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:50:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959831#M134793</guid>
      <dc:creator>cparnellCDZ7D</dc:creator>
      <dc:date>2022-02-18T20:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Board foot calculation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959914#M134795</link>
      <description>&lt;P&gt;The value was written to a custom iProperty. But if you want you can write it to a user parameter like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;volume&lt;/SPAN&gt; = &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Volume&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;side1&lt;/SPAN&gt; = &lt;SPAN&gt;volume&lt;/SPAN&gt; ^ (1 / 3)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;uom&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;UnitsOfMeasure&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;sideConverted&lt;/SPAN&gt; = &lt;SPAN&gt;uom&lt;/SPAN&gt;.&lt;SPAN&gt;ConvertUnits&lt;/SPAN&gt;(&lt;SPAN&gt;side1&lt;/SPAN&gt;,
        &lt;SPAN&gt;UnitsTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kDefaultDisplayLengthUnits&lt;/SPAN&gt;,
        &lt;SPAN&gt;UnitsTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kInchLengthUnits&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;volumeConverted&lt;/SPAN&gt; = (&lt;SPAN&gt;sideConverted&lt;/SPAN&gt; ^ 3) / 144

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;parameters&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN&gt;UserParameters&lt;/SPAN&gt;
&lt;SPAN&gt;Try&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;para&lt;/SPAN&gt; = &lt;SPAN&gt;parameters&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"VolumeBrdFt"&lt;/SPAN&gt;)
	&lt;SPAN&gt;para&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt; = &lt;SPAN&gt;volumeConverted&lt;/SPAN&gt;
&lt;SPAN&gt;Catch&lt;/SPAN&gt; &lt;SPAN&gt;ex&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Exception&lt;/SPAN&gt;
	&lt;SPAN&gt;parameters&lt;/SPAN&gt;.&lt;SPAN&gt;AddByValue&lt;/SPAN&gt;(&lt;SPAN&gt;"VolumeBrdFt"&lt;/SPAN&gt;, &lt;SPAN&gt;volumeConverted&lt;/SPAN&gt;, &lt;SPAN&gt;"ul"&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 21:48:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10959914#M134795</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2022-02-18T21:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Board foot calculation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10962683#M134823</link>
      <description>&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;That worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good week.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 12:23:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/board-foot-calculation/m-p/10962683#M134823</guid>
      <dc:creator>cparnellCDZ7D</dc:creator>
      <dc:date>2022-02-21T12:23:18Z</dc:date>
    </item>
  </channel>
</rss>

