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 the Community Ranking System, a fun gamification element of the PTC Community. X

saving a copy of an asm and auto file nameing

MichaelDouglas
8-Gravel

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.
1 ACCEPTED SOLUTION

Accepted Solutions
David_M
5-Regular Member
(To:MichaelDouglas)

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
David_M
5-Regular Member
(To:MichaelDouglas)

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

David_M
5-Regular Member
(To:MichaelDouglas)

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

Top Tags