Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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
Solved! Go to Solution.
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.
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
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