• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

search paths in the config.pro

  • Thread starter Thread starter manghero77
  • Start date Start date

manghero77

Guest
Hello everyone!
I am a brand new and inexperienced wf4 user.
I used wf2 for 3 years, learning from self-taught the customization of both the interface and the controls..... now is time to pass to wf4

the client gave us his config.pro but, going to spulciate inside it, I find myself a situation like this:

search_path $mrp_apsf\.
search_path_file $mrp_cfg\$prorel\configs.x64\search_stdlib.pro
search_path_file $mrp_cfg\$prorel\configs.x64\search.pro
search_path $wrkdir\.
browser_favorite $datiproe\ar\links\archives
browser_favorite $datiproe\ar\links\superied
browser_favorite $mrp_stdlib
browser_favorite $mrp_cfg\$prorel\sections

This is obviously just a file kick, but my big problem is that I expected to find a syntax similar to what I used on wf2, i.e. x example:

search_path_file n:\commesse\wf20\configs\search.pro

Where is the difference?
what does the $ indicate?
some routes I managed quietly to change them, but how do I change the internal routes to the mapkeys? Exempt:

mapkey(continued) ~ update `file_open` `inputname` `$mrp_cfg/$prorel/formati/bom_bulk.tbl`; ♪


I hope a guru forum like this:wink: can illuminate my dark path...:cool:

Thank you so much!
 
the option search_path_file recalls a text file containing some search_path.
if you open with the notepad your search.pro found in n:\commesse\wf20\configs you will notice that inside contains a series of search_path.
the option search_path can also be inserted directly into the config.pro, therefore without the need to use the search_path_file.

the dollar symbol $ instead it serves to recall environmental variables.
for example I can create an environment variable with name config and value c:\configuration.
and then recall this folder with the $ syntax<nome_variabile>, then $config.

internal paths to macros you can change them manually.

If you need more clarification, let me know.
Bye.</nome_variabile>
 
the option search_path_file recalls a text file containing some search_path.
if you open with the notepad your search.pro found in n:\commesse\wf20\configs you will notice that inside contains a series of search_path.
the option search_path can also be inserted directly into the config.pro, therefore without the need to use the search_path_file.

the dollar symbol $ instead it serves to recall environmental variables.
for example I can create an environment variable with name config and value c:\configuration.
and then recall this folder with the $ syntax<nome_variabile>, then $config.

internal paths to macros you can change them manually.

If you need more clarification, let me know.
Bye.</nome_variabile>
:finger:fantastic!
so if I impose the same environment variables I can use the customer's config.pro without going to change percosri or mapkey! Right?
but where and how can I set environment variables? :confused:

great prof, you are illuminating me!:biggrin:
 
for environmental variables go on system properties > advanced > environment variables.
Bye.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top