<?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: iLogic - How to sum a property of all sub assembli... in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675824#M133783</link>
    <description>&lt;P&gt;Great Curtis! Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the code is working 100%, i just changed, instead of create the property it uses the standard mass of the ocurrences, now its nice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more doubt Curtis, do u know that if i have one assembly with one more sub assembly(that has other sub assembly inside it). total of3 levels of assemblies with some parts inside... Considering that all the assemblies will have this rule. This code will get all the properties of all sub parts ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, ill have to enter in the 3º assy, run the rule....open the 2º abd run and then open the 1ºand run to get the real net weight ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Oct 2012 18:42:01 GMT</pubDate>
    <dc:creator>tuliobarata</dc:creator>
    <dc:date>2012-10-26T18:42:01Z</dc:date>
    <item>
      <title>iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675344#M133779</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got here on in my templates, two types of weight - net and gross. I've changed the main property MASS of each PART to be the GROSS weight, so when i have one assembly i always get the total gross weight.&lt;/P&gt;&lt;P&gt;And when i wanna get the NET, I open the BOM, show the proper column with this net weight and then export do XLS to sum all of then..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the doubt is, to get the things easier, is there a way to put some code in the assemblies, that could sum all the properties "X" from each part and sub assemblie to get the total net weight ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i posted here too, maybe its easier then in the other section.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Túlio Barata&lt;/P&gt;&lt;DIV class="UserSignature lia-message-signature"&gt;IV 2013&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Oct 2012 13:49:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675344#M133779</guid>
      <dc:creator>tuliobarata</dc:creator>
      <dc:date>2012-10-26T13:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675530#M133780</link>
      <description>&lt;P&gt;Hi &amp;nbsp;tuliobarata,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This snippet looks for a custom iProperty called "MyNumber" in all of the assembly occurences and then sums them into the custom iProperty called "MyNumber" in the assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'clear the custom property in the assembly 
iProperties.Value("Custom", "MyNumber") = 0

'set a reference to the assembly component definintion.
'This assumes an assembly document is open.
Dim oAsmCompDef As AssemblyComponentDefinition
oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition
'Iterate through all of the occurrences
Dim oOccurrence As ComponentOccurrence
For Each oOccurrence In oAsmCompDef.Occurrences
'check for and skip virtual components
'(in case a virtual component trips things up)
If Not TypeOf oOccurrence.Definition Is VirtualComponentDefinition Then
'custom property in the assembly 
xNumber = iProperties.Value("Custom", "MyNumber") 
'custom property in the parts
yNumber = iProperties.Value(oOccurrence.Name, "Custom", "MyNumber")
sumNumber = xNumber + yNumber
'set custom property values
iProperties.Value("Custom", "MyNumber") = sumNumber 
Else
End If
Next

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2012 15:30:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675530#M133780</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2012-10-26T15:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675608#M133781</link>
      <description>&lt;P&gt;Curtis, just perfect! Thanks very much for the fast reply!&lt;/P&gt;&lt;P&gt;Worked very well with this code!&lt;/P&gt;&lt;P&gt;And sorry, but It just linked me to another doubt &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is working perfectly on my templates that i got my custom property, but if the assembly got any other part, from CC i.e. thaa doesnt have this custom property ? then i shoul sum with the original mass of that part.&lt;/P&gt;&lt;P&gt;So how can i make a division if dont have the custom property, to sum with the mass of the part ? cuz i guess its easier then change all the CC files to add this property...&lt;/P&gt;&lt;P&gt;I tried just to verify with an IF, but didnt work :S&lt;/P&gt;&lt;P&gt;the problem is to validate if have or no the &amp;nbsp;property, i tried if xxxx=true, or just like below, and nothn &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;clear the custom property in the assembly &lt;/SPAN&gt;&lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Custom&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;, &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;pLiquido&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;

&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;set a reference to the assembly component definintion.&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;This assumes an assembly document is open.&lt;/SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAsmCompDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyComponentDefinition&lt;/SPAN&gt;
&lt;SPAN&gt;oAsmCompDef&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;Iterate through all of the occurrences&lt;/SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oOccurrence&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ComponentOccurrence&lt;/SPAN&gt;
&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oOccurrence&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oAsmCompDef&lt;/SPAN&gt;.&lt;SPAN&gt;Occurrences&lt;/SPAN&gt;
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;check for and skip virtual components&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;(in case a virtual component trips things up)&lt;/SPAN&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Not&lt;/SPAN&gt; &lt;SPAN&gt;TypeOf&lt;/SPAN&gt; &lt;SPAN&gt;oOccurrence&lt;/SPAN&gt;.&lt;SPAN&gt;Definition&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;VirtualComponentDefinition&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;custom property in the assembly &lt;/SPAN&gt;&lt;SPAN&gt;xNumber&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Custom&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;, &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;pLiquido&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; 
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;custom property in the parts&lt;BR /&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;changed this part only ***************************************************&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;oOccurrence&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;, &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Custom&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;, &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;pLiquido&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;yNumber&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;oOccurrence&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;, &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Custom&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;, &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;pLiquido&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;sumNumber&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;xNumber&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;yNumber&lt;/SPAN&gt;
&lt;SPAN&gt;Else&lt;/SPAN&gt;
&lt;SPAN&gt;yNumber&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Mass&lt;/SPAN&gt;
&lt;SPAN&gt;sumNumber&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;xNumber&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;yNumber&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;BR /&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;till here***************************************************************&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;set custom property values&lt;/SPAN&gt;&lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Custom&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;, &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;pLiquido&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;sumNumber&lt;/SPAN&gt; 
&lt;SPAN&gt;Else&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks very much again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Túlio Barata&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2012 16:19:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675608#M133781</guid>
      <dc:creator>tuliobarata</dc:creator>
      <dc:date>2012-10-26T16:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675752#M133782</link>
      <description>&lt;P&gt;Hi &amp;nbsp;tuliobarata,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using my example, here is some code to check for an existing iProperty and add it (ad a number) if not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'- - - - - - - - - - - find or create custom iProperty - - - - - - - - - - 
'Define the open document
Dim openDoc As Document
openDoc = ThisDoc.Document
'Look at all of the files referenced in the open document
Dim docFile As Document
For Each docFile In openDoc.AllReferencedDocuments      
 
Dim propertyName1 As String = "MyNumber"
 'define custom property collection
oCustomPropertySet = docFile.PropertySets.Item("Inventor User Defined Properties")
Try
'look for property
oProp = oCustomPropertySet.Item(propertyName1)
Catch
' Assume error means not found so create it
oCustomPropertySet.Add(0, propertyName1)
End Try
Next

'- - - - - - - - - - - sum the custom iProperty - - - - - - - - - - 
'clear the custom property in the assembly 
iProperties.Value("Custom", "MyNumber") = 0

'set a reference to the assembly component definintion.
'This assumes an assembly document is open.
Dim oAsmCompDef As AssemblyComponentDefinition
oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition
'Iterate through all of the occurrences
Dim oOccurrence As ComponentOccurrence
For Each oOccurrence In oAsmCompDef.Occurrences
'check for and skip virtual components
'(in case a virtual component trips things up)
If Not TypeOf oOccurrence.Definition Is VirtualComponentDefinition Then
'custom property in the assembly 
xNumber = iProperties.Value("Custom", "MyNumber") 
'custom property in the parts
yNumber = iProperties.Value(oOccurrence.Name, "Custom", "MyNumber")
sumNumber = xNumber + yNumber
'set custom property values
iProperties.Value("Custom", "MyNumber") = sumNumber 
Else
End If
Next&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2012 17:46:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675752#M133782</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2012-10-26T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675824#M133783</link>
      <description>&lt;P&gt;Great Curtis! Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the code is working 100%, i just changed, instead of create the property it uses the standard mass of the ocurrences, now its nice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more doubt Curtis, do u know that if i have one assembly with one more sub assembly(that has other sub assembly inside it). total of3 levels of assemblies with some parts inside... Considering that all the assemblies will have this rule. This code will get all the properties of all sub parts ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, ill have to enter in the 3º assy, run the rule....open the 2º abd run and then open the 1ºand run to get the real net weight ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2012 18:42:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675824#M133783</guid>
      <dc:creator>tuliobarata</dc:creator>
      <dc:date>2012-10-26T18:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675834#M133784</link>
      <description>&lt;P&gt;I just tried here, and it not update all the net weight, i tested with 3 levels of assemblies, and when I run the rule one by one manually, the main assy gets the net weight perfectly!&lt;/P&gt;&lt;P&gt;but if i change anything in any sub assy and dont run the rule, or if i change things in the 3º assy, fun the rule, but dont run the rule of the 2º assy, the 1º assy dont get the real weight....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so now the question is, is there a way to run this rule in each sub assy active in the mani assembly ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2012 18:52:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3675834#M133784</guid>
      <dc:creator>tuliobarata</dc:creator>
      <dc:date>2012-10-26T18:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3679708#M133785</link>
      <description>&lt;P&gt;i was reading some stuffs on API Help, but all my ideas untill now were useless. Just got error messages... :S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still trying, if someone know a way to make it work plz give me some light &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Túlio Barata&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2012 19:45:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/3679708#M133785</guid>
      <dc:creator>tuliobarata</dc:creator>
      <dc:date>2012-10-30T19:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/4316410#M133786</link>
      <description>&lt;P&gt;Curtis,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to use the sample code you posted but make it work only for assembly's?&lt;/P&gt;&lt;P&gt;in other words. I have a parameter in each subassembly that i want to sum in the top assembly. I would like the rule to get the value only from the subassembly's. It will then skipp all parts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried some way's but did not get it working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jachin&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 11:06:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/4316410#M133786</guid>
      <dc:creator>JachinMK</dc:creator>
      <dc:date>2013-07-02T11:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/6475111#M133787</link>
      <description>&lt;P&gt;Hi Curtis,&lt;/P&gt;&lt;P&gt;i ask for a solution, that the code also runs through subassemblys and sums the parts? For example, i have a part A and i change the value "MyNumer" - this part A is stored in the main assembly and in an subassembly. The code gets only the value of the part A in the mainassembly not from the Sub.&lt;/P&gt;&lt;P&gt;Hopefully there is a chance....&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 09:33:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/6475111#M133787</guid>
      <dc:creator>martinhoos</dc:creator>
      <dc:date>2016-08-03T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - How to sum a property of all sub assembli...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/6674362#M133788</link>
      <description>&lt;P&gt;hi curtis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My rule subject&amp;nbsp;;&amp;nbsp; custom properties of the all parts in assembly. Miscalculating assemblies built with some methods. Examples in JPEG files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the reason? help please&amp;nbsp; thanks&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="demote create1.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290515i399DC57830A37323/image-size/medium?v=v2&amp;amp;px=400" role="button" title="demote create1.jpg" alt="demote create1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="demote create2.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290511i77A70BA9950F66D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="demote create2.jpg" alt="demote create2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="demote create3.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290512iD4A0A4C93E69DA5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="demote create3.jpg" alt="demote create3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragging create 1.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290513iD4F70794FE454D70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dragging create 1.jpg" alt="dragging create 1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragging create 2.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290514i5A05362D7CB839E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dragging create 2.jpg" alt="dragging create 2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragging create 3.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290516iFA82A76209A3A6D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dragging create 3.jpg" alt="dragging create 3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragging create 4.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290522i873799E3DB85743B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dragging create 4.jpg" alt="dragging create 4.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragging in place create 1.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290517iDC7D4D3A8D24FE76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dragging in place create 1.jpg" alt="dragging in place create 1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragging in place create 2.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290519iE838424396C2416C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dragging in place create 2.jpg" alt="dragging in place create 2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="place create 1.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290518i2ED3C07F62DDC88D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="place create 1.jpg" alt="place create 1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="place create 2.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290520iBF94BDCEB0345723/image-size/medium?v=v2&amp;amp;px=400" role="button" title="place create 2.jpg" alt="place create 2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="place create 3.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290521iE78029038885C95D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="place create 3.jpg" alt="place create 3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="place create 4.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290523iE4822ADED7DE4886/image-size/medium?v=v2&amp;amp;px=400" role="button" title="place create 4.jpg" alt="place create 4.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="run  Rule for all assembly.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/290524iEB69067132093873/image-size/medium?v=v2&amp;amp;px=400" role="button" title="run  Rule for all assembly.jpg" alt="run  Rule for all assembly.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 13:54:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-how-to-sum-a-property-of-all-sub-assembli/m-p/6674362#M133788</guid>
      <dc:creator>arge</dc:creator>
      <dc:date>2016-11-08T13:54:19Z</dc:date>
    </item>
  </channel>
</rss>

