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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Creo 2.0 Config.pro $WorkingDir

Arod529
1-Newbie

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.
1 ACCEPTED SOLUTION

Accepted Solutions

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


Martin Hanák

View solution in original post

2 REPLIES 2

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


Martin Hanák

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

Top Tags