I have just enabled autonumbering for one particular product and now I need to do some renaming/renumbering to use the new numbers. Is there any way to have the drawings automatically use the model's newly assigned number? Since I can't see what the new number is until after the renaming process is finished, I have no idea how to properly rename the drawings while still keeping them matched up with their corresponding models. Any ideas?
This is what happens if I autonumber everything together (drawing doesn't match the model):
If I autonumber just the models, I won't have any idea which newly named model the drawing should be associated with (in order to rename it.):
Thanks for this topic, Tom. This is a pain which we have been going through ever since we have enabled autonumbering. The only workaround we have found is by enabling the config.pro option, rename_drawings_with_objects and then do a save as from Creo. Of course a save as from Creo has its own limitations.
We are very interested to know how others do this.
Unfortunately I need to rename thousands of objects, and most of them are in SolidWorks.
What I really need is something like this for each of the drawings:
We don't use WT Parts, but I wonder if "Generate document number based on related Part" could do this...
Would it work to somehow (automatically) associate both the model and the drawing to the same WT Part, rename the WT Part (autonumber), and then rename the CAD model and drawing to follow the WT Part?
Are you also creating Parts in Windchill? Does your Part have the same number?
Are you using Windchill 11.0?
In Windchill 11.0, in the Rename UI, there is an option "Generate document number based on related Part".
The control was designed such that the model and the drawing (and other deliverables related to the Part) use the Part's number as a basis for the CAD Document numbers:
CAD Document's Identifiers
- Number is based on Part number; but contains extensions and suffixes to make it unique
–File Name is same as number
Does this help?
Thanks for the reply. Yes, Windchill 11.0 M030 CPS01. We are not currently using WT Parts. So far we haven't seen any benefit to doing so. (We are CAD centric, don't use BOMs, and aren't connected to an ERP system.) I'm not sure I want to start using WT Parts just for the rename capability. Seems like an awful lot of overhead and extra work just for this function.
I also recently noticed that there is an inconsistency with the "Set New Name" dialog depending on whether I'm doing a "Rename" or "Save As". "Rename" will allow me to set everything to an autogenerated number. "Save As" will not. Why?
Unfortunately, neither "Rename" or "Save As" will allow the drawing and cad model name/number/filename to stay synchronized between them. (The drawing and model already match,except for extension, and they should continue to match after both a rename and save as.)
@BineshKumar1, I've had to turn autonumber back off for the time being. It was super nice when it worked, but the fact that it wasted a number every time someone did a save-as, rename, or replace from Creo made it completely unusable. Especially on save-as. A number was wasted every time someone ran a mapkey to generate a PDF, DXF, IGES, STEP, etc. You can read my full post about it here: https://community.ptc.com/t5/Windchill-Questions/Autonumbering-and-Creo/m-p/478337.
I do have a couple of cases open with PTC but so far they haven't gone anywhere.
I understand. Each company must decide whether to use Parts or not.
Rename" will allow me to set everything to an autogenerated number. "Save As" will not. Why?
<jlmp> So, there is a way to do it; but you are right it is not done in the same way.
<jlmp>HOW TO SET NAME=NUMBER in SAVE AS UI
<jlmp>- You need to set up an OIR that sets name=number, then choose the "Autogenerate" choice. If you need a sample OIR let me know.
<jlmp>WHY ARE THEY DIFFERENT?
<jlmp>Save As is really CREATING and thus OIRs are applicable. Based on requestes, we have extended OIR concepts to rename; but originally they were not designed to use OIRs. The result is that the options are slightly different where Save As is more OIR focused and Rename controls are more explicit.
Unfortunately, neither "Rename" or "Save As" will allow the drawing and cad model name/number/filename to stay synchronized between them.
<jlmp> If you do not have a Part, we do not have a tool right now.
<jlmp> The only other suggestion I have is to use the OIRs to generate number; but allow it to be editable (not immutable). If you do not want to pre-generate the number, then you will need to do the rename in 2 steps.
<jlmp> If you would like some additional tools, I would start an idea and based on interest, we could add something to the software.
Thanks again for the reply. I'm actually less worried about Name and more worried about Filename during a save-as. If we ever start using Name as a description (instead of just a duplicate of Number), it would actually need to remain unchanged. Obviously that won't work for Filename since no duplicates are allowed. Will the OIR that controls save-as allow Filename to automatically equal Number (and just leave Name unchanged)? Thanks.
We do have the same issue, the system wastes a new number for save as to other formats, when we rename drawings to match the model number and so on. This wastage of numbers hasn't been escalated to a concern, but I am sure some day it will. It would be nice, if we can turn on autonumber only when you create a new CAD document from Windchill, and an option to control the behaviour in save as and rename wizards. Do we have a product idea on this? I couldn't find one
I understand your concern.
File Name cannot be controlled by an OIR.
I don't know why your control is disabled. Are you selecting new files in WS where some do not have a number?
Otherwise, I always see Same As Number enabled and it can be the default option using the server-side preference:
Save As > Inherit FileName From Number to Yes (and locked if you want).
If you cannot isoloate why it is disabled, I would encourage you to file a Tech Support call, because your use case of setting Number to be autogenerated and file name to be the same was intended to be supported.