Good morning,
I have this problem, from a multibody part I want to export the parasolid (or step) files of the single bodies.
I found the attached macro in the forum which, through the SAVE BODIES function, generates the prt files and the asm file.
I would like to change the file name of the prt files that are generated, taking the "body name" that I am going to compile manually before launching the macro (see attached image)
Giving an example to be clearer:
- the native prt file I attached is called 0025118AT1-03.sldprt
- the generated asm file must be called 0025118AT1-03.sldasm
- the single bodies must be called 0025118AT1-03.1.sldprt / 0025118AT1-03.2.sldprt / 0025118AT1-03.3.sldprt / 0025118AT1-03.4.sldprt as shown in the image.
- the parasolid files that are generated must be called 0025118AT1-03.1.x_t / 0025118AT1-03.2.x_t / 0025118AT1-03.3.x_t / 0025118AT1-03.4.x_t
can you help me?
Thanks in advance for the help