Skip to main content
1-Visitor
Sep 23, 2014 6:09 AM UTC
Solved

Creo 2.0 Config.pro $WorkingDir

So basically I'm looking for a variable to reference the working directory in the config.pro file.

 

Similar to this line: drawing_setup_file $PRO_DIRECTORY\text\prodetail.dtl

 

Except for the working directory. I've got the Creo shortcut loading to a specified dir, and want my config.pro to load the tree.cfg file.

 

aka: mdl_tree_cfg_file <working_dir>\tree.cfg

 

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.
24-Ruby III
Sep 23, 2014 6:35 AM UTC

Hi,

if you want to load tree.cfg from startup directory, then create config.pro in startup directory and put the following option in it:

mdl_tree_cfg_file .\tree.cfg

Martin Hanak

2 replies

24-Ruby III
Sep 23, 2014 6:35 AM UTC

Hi,

if you want to load tree.cfg from startup directory, then create config.pro in startup directory and put the following option in it:

mdl_tree_cfg_file .\tree.cfg

Martin Hanak

Translate
Arod5291-VisitorAuthor
1-Visitor
Sep 23, 2014 5:50 PM UTC

Oh wow, what a brain fart. I tried it with the double period not the single. Works like a charm, thanks.

Translate