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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

saving a copy of an asm and auto file nameing

MichaelDouglas
9-Granite

saving a copy of an asm and auto file nameing

Does any one know if it is possible to asave a copy of a file and have all internal parts file name generate automatically?

for example, when we save a copy of a step file the parent file name 230000

each a child, prt or asm, would have a naming convention as follows

230000-101

230000-102

etc.

thanks Mike


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
ACCEPTED SOLUTION

Accepted Solutions

Capture.PNG

After following the above instructions, highlight all the parts (not the top level) and right click > new name. Hit "Generate New Names". File > Save. Open the saved file in a text editor to familiarize yourself with the format. Now open in Excel or continue editing in plain text. Specify new names. Save with the same structure.

Return to this dialogue box. File > Load. Hit "Save a Copy".

This tool is poorly documented. You may be able to get something more streamlined to work using FEAT# or an incrementing variable to assign numbers.

View solution in original post

4 REPLIES 4

If you add this line to your config.pro file, you can access the tool which allows you to specify how your assembly is re-named:

model_rename_template yes

Now the tool will appear when you run File > Save a Copy (and type a name for the top level assembly and hit enter).

However, getting this tool to do anything correctly is a task in itself.

yes,

it is the children that i am struggling with. I just saved a copy of a step file I recieved from a vendor that 200 children. Takes about 15-20 minutes to rename all the children.

Any thoughts?

Mike

Capture.PNG

After following the above instructions, highlight all the parts (not the top level) and right click > new name. Hit "Generate New Names". File > Save. Open the saved file in a text editor to familiarize yourself with the format. Now open in Excel or continue editing in plain text. Specify new names. Save with the same structure.

Return to this dialogue box. File > Load. Hit "Save a Copy".

This tool is poorly documented. You may be able to get something more streamlined to work using FEAT# or an incrementing variable to assign numbers.

This is great.

So, is there anyway to incorporate parameter variables in this process?

always something more!

Mike

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags