Macro help! Is there a way to count the total length of lines?

I need helping creating a macro in solidworks. The company I work for integrates and designs conveyor and packaging solutions for the dairy industry. As a designer I create long lengths of conveyor all the time. When we generate our BOM's there are a lot of instances where we need to manually count the lengths of items such as chain, wear strip, rail, ect. We do so, so that we can order the correct qty. of those items. Since we actually add in wear stip to our 3D conveyor sections, I was curious if there was any way to create a macro that can look at the edge length of each one and count those lengths to give us a final number in feet. This would save us so much time.

Comments 0