Sometimes we have a series of files to rename in the EPDM and it's long and tedious to do. So I thought about making a macro, but the problem is that the references in the assemblies and drawings don't follow.
I use an 'IEdmFile5' on which I apply the 'RenameEx' method, ...
Do you have a solution so that my references don't break? Thank you!
If I understand correctly, you have parts and sets to copy and rename?? If that's it, open the assembly and make a take-away composition like its references will follow and before making the composition you indicate the future name as well as the location so different from the start.
We use logopress and it creates the parts with "-1" at the end, so yes we do "Right click -> SolidWorks -> Rename", but when you have 60 parts to rename you quickly spend the morning there.