ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MBMarcello Bottura31/07/2024

I would like to reorder the component tree in an assembly, starting with image SX and ending with image DX.
As you can see I have components with a name ending in a number. I would then like to sort the component tree by name (ascending order)
I was thinking of using the method
value = instance.ReorderComponents(Source, Target, Where)
But this swaps 2 objects between them but I don't know the location