AnsweredAssumed Answered

Traverse Assembly VBA does not show components in the correct order!

Question asked by Darren Smith on Oct 4, 2018
Latest reply on Oct 7, 2018 by Keith Rice

Can anybody help?

I have a small assembly that have all the components listed in the correct order on the left hand side of the screen (1, 2, 3, 4 etc).

If I insert a BOM list into the assembly the results are showing in the correct order (Please see Screen-1).

However,

When I run the macro, the output is not in the correct order (Please see Screen-2)

Please see the attached swp macro

or

2015 SOLIDWORKS API Help - Traverse Assembly at Component Level Example (VBA)

 

Does anybody know what is wrong with the macro????

 

MANY THANKS IN ADVANCE!!!

 

Darren

Attachments

Outcomes