Working directory relative path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
- Labels:
-
Assembly Design
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Martin Hanák
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Martin Hanák
