Rename name welded parts

Hello

Looks for a way to rename to automatic by concatenating the names of the welded parts.

Today I have this kind of names on the osuded pieces:

I don't know how to simply rename these pieces in this format: num_pièces-A, B-number, etc...
As for the tubes, there is no need because their name is already more consistent.

Afterwards I would have to create a macro that exports the bodies in SLDPRT, I imagine that this kind of thing already exists but I haven't found anything...

 

Thank you for your support.