Skip to main content
1-Visitor
July 6, 2016
Solved

Copy drawing and model and attach them

  • July 6, 2016
  • 3 replies
  • 15095 views

How do you do this? We tend to make parts off of other parts that are similar so it would come in handy to be able to attach drawings to models. When I tried making a copy of a drawing it still kept it attached to the old model. I tried using add model under legacy migration but it did nothing. Thanks for any help.

Best answer by RonSt.Pierre

first, in your config.pro, you need:

rename_drawings_with_object both

With the model open (part or assembly), do:

File>Save As>Save a copy

if you have an assembly open, it will allow you to rename any components of the assembly.

Any objects that are renamed will also create a new drawing, even in the assembly rename

3 replies

12-Amethyst
July 6, 2016

first, in your config.pro, you need:

rename_drawings_with_object both

With the model open (part or assembly), do:

File>Save As>Save a copy

if you have an assembly open, it will allow you to rename any components of the assembly.

Any objects that are renamed will also create a new drawing, even in the assembly rename

12-Amethyst
July 6, 2016

Ken

If the model & drawing have the exact same name, this function is the default. when you copy the drawing to a new name it will make a copy of the model with the same name.
If the model and drawing have different names, it does not work

There are some complicated work around techniques but I recommend that the model & associated drawing have the same name.

ABC.prt ---- ABC.drw

DEF.asm --- DEF.drw
etc.

Dave

1-Visitor
October 8, 2019

This was key for my success: Having the part (or assembly) name exactly match the drawing name, this shows your intent to creo in the most direct way.

 

This is using the file, save-as method within creo (not windchill)

 

Create parts and assembly, then create drawings that exactly match the drawing name to corresponding prt/asm

ABC.prt ----> ABC.drw

DEF.asm --->DEF.drw

 

underlying creo config: config.pro, setting: rename_drawings_with_object set to "both"

With the asm model open (DEF.asm in this case), do: File>Save As>Save a copy

rename the asm model and the child part (ABC.prt in this case)

Make sure Associated items > Copy Drawings box is checked

 

operation results in 4 new items, 1 part, 1 assembly, and 2 drawings

GHI.prt + GHI.drw

JKL.asm + JKL.drw

 

kpaiva1-VisitorAuthor
1-Visitor
July 6, 2016

Thanks guys. I think you were both correct. With both drawing and part open I renamed and saved them. Renaming the part first. That linked them together.

1-Visitor
September 4, 2020

hi, i'm still in the process of learning creo. and have a similar issue with save as.

i'm modifying some parts/assems and want to create copies in a separate folder so as not to affect production files. the mods may or may not go ahead.

the save as copy works for parts/assems so long as both part/assem and drawing are open. what i can't figure out is if the part/assem has an instance (both my parts and assems have instances that need copied also) and the instance has its own drawing. to complicate it even further the instance drawing is for a second product and is in another folder. using the save as copy when you open the new part/assem the instance is no longer attached. also the save as copy doesn't copy the instances drawing.

what is the best way to copy and rename everything so that parts/assems and there drawings all keep the correct links?

kdirth
21-Topaz I
21-Topaz I
September 4, 2020

Sounds like you are not using WindChill for file management.  This makes it a bit easier.

  • Open the drawings and use Save As / Save a Backup for all drawings to create a copy in a new folder.
  • Close all files and erase from session.
  • Open the copied drawings and rename as needed. (File / Manage File / Rename)
  • Open the models and rename as needed.
  • Save Drawings
There is always more to learn.