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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Saving STEP files with version number?

khimani_mohiki
15-Moonstone

Saving STEP files with version number?

We are working with a partner exchanging STEP files, what we need to be able to do, in an automated way, is save out a STEP file of a component or sub-assembly:

  1. attaching the windchill version of the CAD document to the STEP file name
  2. using a specific co-ordinate system (same name in each part/assy)

We need to do it like this so that our partner can place the step files we send them correctly and have visibility of the version of Creo data it came from.

 

So first of all is it even possible to perform a rename, save as or export in Creo with a Windchill version suffix?

Then is it possible to always use a specifically name co-ordinate system when exporting to STEP?

 

Thanks for your help

 

2 REPLIES 2

Yes it is possible to save or rename the step file with the Windchill version suffix. How you accomplish such depends on the tools you have available to you and your skill set. If you have basic DOS/CMD scripting and mapkey creation skills you can accomplish the task. The flow would be something along the lines of the following: 1. Record a mapkey to export the file history to disk and perform the save as (to .stp) on the active model. 2. Manually create a mapkey to open a DOS/CMD window that runs a DOS/CMD script that will rename the .stp file with the Windchill version information. 3. Create a mapkey to run the two mapkeys above. The file history contains the model name and Windchill version information and is always called modiflist.inf and is always placed in your current working directory. The default .stp file name will always be the model file name for parts and the model file name with the _asm suffix for assemblies (ex: abc.stp or abc_asm.stp). Your DOS/CMD script can extract the model name and version information from the modiflist.inf file, search for a file called .stp or _asm.stp, and then rename the file with the version information as the suffix. Hope that helps. Regards, Dan N.
Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags