Skip to main content
1-Visitor
July 27, 2016
Question

Sub-Assemblies saved on different folder

  • July 27, 2016
  • 4 replies
  • 8280 views

Hi guys,

 

Perhaps a noob question. When I have my "mother folder" with all the files inside and main assembly, I have some folders inside where are stored files related to a different assembly. Everytime I open the main assembly I have to manually open the subassembly folder location. Is there any way that I create a kind of shortcut, so when I open the main assembly, this sub assemblies is open with this location error??

Did you understand my question?

 

Thanks


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.

4 replies

23-Emerald III
July 27, 2016

There is a config.pro option called SEARCH_PATH

For each folder, add line in your config.pro

SEARCH_PATH C:\MOTHER_FOLDER\SUB-FOLDER-1

SEARCH_PATH C:\MOTHER_FOLDER\SUB-FOLDER-2

SEARCH_PATH C:\MOTHER_FOLDER\SUB-FOLDER-3

Creo will look through these folders for the parts/assemblies.

If you have an extensive # of folders, you may want to look in to the option SEARCH_PATH_FILE

prebelo1-VisitorAuthor
1-Visitor
July 27, 2016

But in this case, when I open the drawing in another pc it will give me the same error.

Imagine this scenario:

I am making a design of a mold and all the files are in folder "A". To this project I use previous projects that are sub assemblies of this main project. So inside folder A, I have folder B and C for this two sub-projects. This is a way of helping me to keep different components inside the same big project so I can move them to a different place later.

17-Peridot
July 27, 2016

It doesn't matter if these are subfolders or a different location all together.

Creo doesn't search sub-folders by default...

and Creo doesn't care where the file comes from in an assembly.

The only thing that matters to Creo is memory.  You cannot have duplications in memory.

There is a specific order in how Creo searches for files.

22-Sapphire I
July 27, 2016

Not using Windchill or some variation?  If not, tracking things in folders is recipe for disaster.

17-Peridot
July 27, 2016

Yep, search path.  Typically this is used for "library" functions.

You have to be careful about this as there are occasions when things are found in the wrong place.

I've also seen this work on a larger scale where part number group segregation by folder.

These folders do require periodic maintenance but for the most part, this is the most benign system I know without a PDM.

21-Topaz II
July 29, 2016

Some more info that may help you.

Creo, unlike some CAD systems, does not keep track of where files are located.  Instead, it searches through a short list of locations to find the file needed:

  1. In memory (Is it already open?  Keep in mind that Creo keeps files "in memory" even after you close the window.)
  2. The folder the parent object came from
  3. The working directory
  4. The search paths as defined n the config.pro file, as discussed above.

That's it.  Keeping this list in mind can help you make wise decisions about folder structure and file management.