Skip to main content
1-Visitor
July 25, 2017
Solved

search_path not working

  • July 25, 2017
  • 1 reply
  • 4055 views

Hello, I am a college student with the student version of creo 3. After some time searching the forums, I have yet to solve the issue I am having, and would greatly appreciate some expertise.

I have been working on a cnc project for some time and simply have parts in 2 different folders, "CNC design" and "CNC z axis" that i want creo to search through. I have gone into config. editor and set a search_path to the full path of the cnc z axis folder and saved it to my config.pro that is saved in "CNC design" which is set as the default folder to open when creo opens. I also have a search path to C:\Users\Public\Documents, which is where some of my fasteners were saved, this search path works fine. I have also changed other config options such as display datums etc. and saved to the config.pro, and all of these settings are retained when I open creo.

However, when I try to create a search_path to the "CNC z axis" folder, it will work for the current session, but will no longer be in the configuration editor after closing and reopening creo. 

I have tried removing the spacings from the folder name, as well as adding single and double quotes to the name, none of which made a difference. I also tried creating a search.pro text document under the "CNC design" folder with 
search_path C:\Users\brad\Documents\Pro Engineer\CNC Design
search_path C:\Users\brad\Documents\Pro Engineer\CNC z axis

written into the document and created a search_path_file directed to it. This option didn't work at all, even upon regenerating the assembly, so I must have done something wrong. 

 

All I want is for creo to save my second search path to CNC z axis and be able to search through it every time I open creo. Looking at the drop down tab under config. editor, it shows that the config.pro I have been saving to is being opened by creo at startup, so I am pretty sure I am not just saving to the wrong config.pro. I would greatly appreciate some help with this. 

Best answer by Mahesh_Sharma

Include location in double quotes as there are empty spaces. 

 

search_path "C:\Users\brad\Documents\Pro Engineer\CNC Design"
search_path "C:\Users\brad\Documents\Pro Engineer\CNC z axis"

 

Make sure search_path_file in config.pro is pointing to path to search.pro (including name) e.g. C:\XXX\search.pro

 

AND check the file extensions it needs to be .pro not .pro.txt (sometimes it happens when display of file extensions is not enabled.)

1 reply

Mahesh_Sharma
22-Sapphire I
July 25, 2017

Include location in double quotes as there are empty spaces. 

 

search_path "C:\Users\brad\Documents\Pro Engineer\CNC Design"
search_path "C:\Users\brad\Documents\Pro Engineer\CNC z axis"

 

Make sure search_path_file in config.pro is pointing to path to search.pro (including name) e.g. C:\XXX\search.pro

 

AND check the file extensions it needs to be .pro not .pro.txt (sometimes it happens when display of file extensions is not enabled.)

ba690d1-VisitorAuthor
1-Visitor
July 25, 2017

Here is the name of my search path

search_path "C:\Users\brad\Documents\Pro Engineer\CNC z axis"

with or without " the search path works when I click on regenerate and my missing parts are found. However, when I close creo and open it again, the search path does not work and when I go into config. editor, that search path is no longer listed, despite all the other settings in the same config.pro working as expected. 

 

The path to my text document named "search.pro" is

C:\Users\brad\Documents\Pro Engineer\CNC Design\search.pro

 

and in the config editor I have

search_path_file "C:\Users\brad\Documents\Pro Engineer\CNC Design\search.pro"

I have also tried

search_path_file "C:\Users\brad\Documents\Pro Engineer\CNC Design\search.pro.txt"

which is what is chosen when I click browse and then the search.pro text file, neither method works, even when the model is simply regenerated, unlike the search_path method. 

 

Is it possibly a problem with the text document I have created named search.pro? Does it need to be saved as some particular format rather than a simple text document?

 

And regardless of the search_path_file issue, I should be able to save multiple search_paths correct?

23-Emerald III
July 25, 2017

As KSM mentioned, enable hidden file extensions to be sure your file is search.pro and not search.pro.txt.

It is a standard text formatted file.