Count how many parts in assembly that are the same part.
Count how many parts in assembly that are the same part.
(OP)
Hi,
Sorry for making so many posts, but I have one more spot where I am stuck. I need the qty of each part in the active assembly. Currently I am looping through all the parts so there is probably just some code that i could put in the loop that would count how many parts of each there is. Any body done this before or got any ideas.Thanks.
Sorry for making so many posts, but I have one more spot where I am stuck. I need the qty of each part in the active assembly. Currently I am looping through all the parts so there is probably just some code that i could put in the loop that would count how many parts of each there is. Any body done this before or got any ideas.Thanks.






RE: Count how many parts in assembly that are the same part.
-handleman, CSWP (The new, easy test)
RE: Count how many parts in assembly that are the same part.
Dan
www.eltronresearch.com
Dan's Blog
RE: Count how many parts in assembly that are the same part.
RE: Count how many parts in assembly that are the same part.
<http://www.lennyworks.com/solidworks/>
RE: Count how many parts in assembly that are the same part.
Which version of SW are you using?
SW2009 has a built in "BOM from assy model" function.
RE: Count how many parts in assembly that are the same part.
Chris
SolidWorks/PDMWorks 08 3.1
AutoCAD 08
ctopher's home (updated Aug 5, 2008)
ctopher's blog
SolidWorks Legion
RE: Count how many parts in assembly that are the same part.
I am using SW2008 SP4.0. So you just make a drawing add a BOM and read the QTY column and then I would use that to put in my excel sheet ?
RE: Count how many parts in assembly that are the same part.
SW09, has that same function built in.
RE: Count how many parts in assembly that are the same part.
RE: Count how many parts in assembly that are the same part.
Joe
SW Office 2008 SP4.0
P4 3.0Ghz 3GB
ATI FireGL X1
RE: Count how many parts in assembly that are the same part.
RE: Count how many parts in assembly that are the same part.
Just extract the zip file to the location where you store your macros, then, with the assy open, run the macro (AssemblyBOM.swp).
RE: Count how many parts in assembly that are the same part.
In 2008 you also might try the Assembly Xpert which can count the number of components that are unique parts or configurations.
Michael
RE: Count how many parts in assembly that are the same part.
-handleman, CSWP (The new, easy test)
RE: Count how many parts in assembly that are the same part.
RE: Count how many parts in assembly that are the same part.
-handleman, CSWP (The new, easy test)