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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

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 II
(To:Ed13)

Top Tags