cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Working directory relative path

Z_diBossi
4-Participant

Working directory relative path

Hi everybody,

I want to ask if WORKING DIRECTORY has a relative path like in "$PRO_DIRECTORY"
I want to specify the search path of "foldersearch" which is specified in the current working directory.
I would like to avoid having to edit config.pro for every new project.
I use Creo 7 without Windchill.

Thanks

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

during start Creo is able to load up to 3 config.pro file.

Please read https://www.ptc.com/en/support/article/CS28227

 

In each project directory you can have Creo startup shortcut and config.pro specific for the project.

MartinHanak_0-1693914860002.png

 


Martin Hanák

View solution in original post

5 REPLIES 5
tbraxton
21-Topaz II
(To:Z_diBossi)

I am not aware of a way to avoid loading the search.pro file or manually performing additions to the search.pro files.

 

Refer to this thread which I believe offers several options for this issue which are semi-automated:

 

Solved: Config.pro search path "relative" path - PTC Community

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Z_diBossi
4-Participant
(To:tbraxton)

Thanks for the quick response.
I have a problem with this now:

 

"If you exit the program and later want to work on the same project, you will have to repeat Step (5) again"

((5) Load the "locconfg.pro" file by following the menu picks:

File->Options->Configuration Editor->Import/Export->Import Configuration File)

 

I would like to enter a path in config.pro that always points to the current working directory.

Thanks in advance

Hi,

using relative paths in search_path option can cause a lot of trouble.

My suggestion ... always use  absolute paths.

If you start new project, then you will copy config.pro from existing project and then in Notepad you will simply replace start part of path. This is "one step" procedure - nothing time consuming.


Martin Hanák
Z_diBossi
4-Participant
(To:MartinHanak)

Thank Martin,

 

Can I use two config.pro at the same time?
A main config.pro in C:\Program Files\PTC\Creo 7.0.0.0\Common Files\text and a second config.pro in the working directory?
It only has the search_path_file N:\XXXXXXXXXXXX\search.pro, so do you load the other settings from the main config.pro the same way?

 

ZD

Hi,

during start Creo is able to load up to 3 config.pro file.

Please read https://www.ptc.com/en/support/article/CS28227

 

In each project directory you can have Creo startup shortcut and config.pro specific for the project.

MartinHanak_0-1693914860002.png

 


Martin Hanák
Top Tags