Skip to main content
8-Gravel
January 30, 2020
Question

Convert .PRT to .STP Massive data

  • January 30, 2020
  • 3 replies
  • 3780 views

Hello all,

 

I have 256 units of ".prt" files from many ".asm" and i want to convert into .stp files. Anyone knows how can i do on a fast way? 

 

Thanks in advance.

3 replies

23-Emerald III
January 30, 2020

When you save an assembly to .stp, it keeps all the part files as individual models. Maybe I am misunderstanding the question.

If you have multiple assemblies, you could put them all in one assembly and export to .stp

You may want to look in to "distributed batch" which I think will help you do a conversion of many files. I have never used it but I think it may be your answer.

17-Peridot
January 30, 2020

You can use CREOSON to get that done pretty easily ... couple of options... JavaScript (you can modify the Playground help page) or use CREOPYSON (python library for CRESON).

 

Basically - you can use the following workflow calling CREOSON functions:

for each fileName in file : list *.prt

   file : open fileName

   interface : export type=STEP file = fileName (opt - filename = stepfileName)

 

Pretty simple thing to do.  Probably worth looking at the CREOPYSON version first.

 

Dave

 

 

 

 

 

24-Ruby III
January 31, 2020