<?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: Inventor 2016 Parts List Quantity Edit in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6457241#M65646</link>
    <description>&lt;P&gt;Have you tried changing the units of measure in the parts you want to display as mass quantity? You can access these settings through "Document Settings" on the tools tab.&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/257582iE4921B9D2F3D1332/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Doc Settings.PNG" title="Doc Settings.PNG" /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2016 10:17:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-25T10:17:04Z</dc:date>
    <item>
      <title>Inventor 2016 Parts List Quantity Edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6451646#M65609</link>
      <description>&lt;P&gt;Good day everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been given a task that I am not sure if possible and if it is then I would need some of your expert advice and guidance to get it right.&lt;/P&gt;&lt;P&gt;So here is my scenario:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say I have an Assembly with 10 Parts in, and some of them are the same parts. When you look in the Parts List you will only be shown all the different parts and then given the quantity of each. So let's say there is 5 different parts in total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is fine with it displaying like that (Showing the quantities of each part) but, now I have one part of which I want the Mass/Volume of.&lt;/P&gt;&lt;P&gt;Now I know you can add a Mass or Volume Column, but the problem is we only want to see the one Parts Mass and then the others Parts Quantities and we want to be able to see it in one Column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ITEM&amp;nbsp;&amp;nbsp; - &amp;nbsp; QTY&amp;nbsp;&amp;nbsp; - &amp;nbsp; DESCRIPTION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; PART 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; PART 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; PART 3&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; PART 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; 3kg &amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; PART 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is something like this at all possible?&lt;/P&gt;&lt;P&gt;Looking forward to seeing the responses and hoping for a good solution to this, thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 07:17:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6451646#M65609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-21T07:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor 2016 Parts List Quantity Edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6457241#M65646</link>
      <description>&lt;P&gt;Have you tried changing the units of measure in the parts you want to display as mass quantity? You can access these settings through "Document Settings" on the tools tab.&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/257582iE4921B9D2F3D1332/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Doc Settings.PNG" title="Doc Settings.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 10:17:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6457241#M65646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-25T10:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor 2016 Parts List Quantity Edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6457551#M65650</link>
      <description>&lt;P&gt;Thanks for the reply bud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried it but I don't seem to have any luck it still only displays the quantity of the part as 1 in the Parts List instead of the Mass/Volume&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 13:28:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6457551#M65650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-25T13:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor 2016 Parts List Quantity Edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6457614#M65651</link>
      <description>&lt;P&gt;OK, new idea.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use this ilogic code to create a user parameter called mass and fill that parameter with the mass of the part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Try&lt;/SPAN&gt;

    &lt;SPAN&gt;Parameter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Mass&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;iProperties&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Mass&lt;/SPAN&gt;
    
    &lt;SPAN&gt;Catch&lt;/SPAN&gt;
    
    &lt;SPAN&gt;oMyParameter&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Parameters&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;UserParameters&lt;/SPAN&gt;
    
    &lt;SPAN&gt;oParameter&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;oMyParameter&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;AddByExpression&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Mass&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;kg&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
    &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;oParameter=oMyParameter.AddByValue("Mass", "", UnitsTypeEnum.kKilogramMassUnits)&lt;/SPAN&gt;
    
    &lt;SPAN&gt;Parameter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Mass&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;iProperties&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Mass&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in document settings change the base quantity to the new parameter and bingo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/257611i3F5DCD75BEE7CDA4/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="mass.PNG" title="mass.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/257612i9322098737DED5F0/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="yessss.PNG" title="yessss.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can set the rule to run every time you save so the mass always gets updated&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 14:02:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6457614#M65651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-25T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor 2016 Parts List Quantity Edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6461647#M65674</link>
      <description>&lt;P&gt;You sir...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are a LEGEND!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Haha it works! Thanks so much really appreciate it!&lt;/P&gt;&lt;P&gt;My knowledge of iLogic and rules are still next to none, and I find it bit difficult to learn on my own at some points so I never even considered that iLogic might be the answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But once again thanks man&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 07:08:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-2016-parts-list-quantity-edit/m-p/6461647#M65674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-27T07:08:50Z</dc:date>
    </item>
  </channel>
</rss>

