Skip to main content
1-Visitor
January 25, 2013
Question

Replace by copy

  • January 25, 2013
  • 2 replies
  • 5812 views

Hello,

 

I want to do a replace by copy,

The problem: the copy of the part has been saved in the directory of the part not the working directory.

I can't put the part in the working directory (library part).

 

Grtz

Christophe


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.

2 replies

17-Peridot
January 25, 2013

You can move files around manually. You just have to remember that there are files stuck in memory which have to be released first.

The easiest way to deal with difficult file locations is to do a backup of the highest level assembly where the part is used. Once backed up in its own folder, move the files you want from there to where ever you want them (and change the number on the end of the filename to the highest). Close all files in Creo/WF/Pro|E and erase-not-displayed. Set your default directory where the files were moved to. Now open the parts and/or assembly as you like. Loading parts always searches your work directory first.

1-Visitor
January 25, 2013

I would not recommend this procedure as in the end you will have different revisions of the same part/assy all over your folders. You cannot even count on the revison number as it will be set to one by backup.

You should use search paths.

The sequence Creo looks for files is:

- memory

- working folder

- search paths in given order

You create a search path by

- search_path my_folder or

- search_path_file my file in your config.pro

The search path file is a text file with each folder listed in line of its own.

You should find more information in the help files.

Reinhard

1-Visitor
January 25, 2013

I work already with a search path.

I'll will give an example of the problem.

I have made a library with tubes (standard lengths)

When I make a new assemblies i use the library parts.

5 tubes of 2m and I need one tube of 0,8m (witch is not in the library)

I do a replace by copy.

Problem the tube of 0,8m is not in the working directory.

For the tubes i work with a family table, putting in more tubes is not an option.

Grtz

Chrisophe

1-Visitor
January 28, 2013

Bonjour,

you could try to first save a copy of the pipe where you want it to be, then do a Replace>Layout in the assembly.

Or you can move the copied part from the old part folder to your working directory afterward with Windows Explorer.

1-Visitor
January 28, 2013

Bonjour,

I'm working with libraries with a search path.

If I'm copying my parts to the working directory it is no use to work with libraries.

Grtz

Christophe

1-Visitor
January 28, 2013

I think I have misunderstood your issue...

But with this technique you can save your pipe wherever you want...