Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic - How to sum a property of all sub assemblies ?

1 REPLY 1
Reply
Message 1 of 2
tuliobarata
343 Views, 1 Reply

iLogic - How to sum a property of all sub assemblies ?

Hi all!

 

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.

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..

 

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 ?

 

Thanks!

 

Túlio Barata

IV 2013
1 REPLY 1
Message 2 of 2
tuliobarata
in reply to: tuliobarata

I tried to find to way in how to do it on iLogic, but I dont know very well the sintaxes.

 

Maybe with one idea.

 

TO count every item in the assembley and put it in a loop that would write in each one one property that i want. I just tried some codes that i found here, but none worked for me :S

 

Any idea guys ?

 

Thanks again

Túlio Barata

IV 2013

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report