cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

Convert .PRT to .STP Massive data

Ed13
7-Bedrock

Convert .PRT to .STP Massive data

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 3
StephenW
23-Emerald II
(To:Ed13)

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.

DavidBigelow
17-Peridot
(To:Ed13)

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

 

 

 

 

 

MartinHanak
24-Ruby III
(To:Ed13)

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags