Skip to main content
23-Emerald IV
July 6, 2017
Question

Rename with Autonumber - Have Drawing Match Model

  • July 6, 2017
  • 1 reply
  • 8715 views

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):

 

BeforeBefore      DuringDuring   AfterAfter

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.):

 

   BeforeBefore   DuringDuring   AfterAfter

1 reply

1-Visitor
July 6, 2017

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. 

TomU23-Emerald IVAuthor
23-Emerald IV
July 6, 2017

Unfortunately I need to rename thousands of objects, and most of them are in SolidWorks.  Smiley Sad

 

What I really need is something like this for each of the drawings:

autogenerate.png

 

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?

14-Alexandrite
July 31, 2017

Hello Tom.

 

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".

Rename_SetNew_names.gif

 

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:

Part's Identifiers:

  • Number is generated: 00001234

CAD Document's Identifiers

 - Number is based on Part number; but contains extensions and suffixes to make it unique

  • 00001234.PRT
  • 00001234_FLEX001.PRT
  • 00001234.DRW
  • 00001234.MFG

–File Name is same as number

 

 

Does this help?

Thanks

Jennifer