Fredrik Wammen Schoen

Macro to save DXF files with material and thickness in the name?

Discussion created by Fredrik Wammen Schoen on Nov 10, 2020
Latest reply on Nov 10, 2020 by Deepak Gupta

Hi! 

I spend far to much time to rename my part names, when im saving SolidWorks gives the parts names like Part1, Part2, etc.  

The company i work have a standard and we have to name all parts with an AO number, material and thickness for example 55432-1 S355J2G3 3MM, 55432-2 EN1,4404 5MM, 55432-3 S355J2G3 10 MM etc. I add this when im saving the part.

The part files is beeing saved in specific folders, named after whe work, the parts i had as example above is beeing saved in a folder named 55432  

Is there a macro or something i can change that make SolidWorks add material and thickness automaticly, even better is if it can name the parts with the foldername and a surfix followed by material and thickness?  

 

Im sorry if my text is hard to understand, English is not my native language

Thanks! 

Outcomes