global panel and macro / environment setup
Can anyone show me how to setup route to global panel and macro permenantly? I have to setup environment each time as I switch on my computer( window version 3.26 ). Will be very appreciated.
|
Re: global panel and macro / environment setup
In you shell's resource configuration file (.bashrc, .cshrc, etc.), set the environment variables MACRO_GLOBAL & PANEL_GLOBAL. For example, I use a C shell. SO in my .cshrc file I have the lines: setenv MACRO_GLOBAL ${NETDIR}/prostarTools/macros and setenv PANEL_GLOBAL ${NETDIR}/prostarTools/panels where ${NETDIR} is an environment variable set to a particular location on a network drive.
|
Re: global panel and macro / environment setup
Thank you Pauli. But my prostar is window version.
|
Re: global panel and macro / environment setup
I believe windows uses the same (or at least similar) environment variables. However, I couldn't tell you where to change such a thing in that POS OS.
|
Re: global panel and macro / environment setup
In the same machine of mine, for v3.15a, it automatically there; for v3.22, have to copy/paste path to 'environment setup' each switch-up; for v3.26, copy/paste is causing collapse, have to type in. A getting worse history! seting should be somewhere in STAR not xp system. Thank you anyway.
|
Re: global panel and macro / environment setup
hi guang ai
if you follow this page http://www.wilsonmar.com/1envvars.htm and set up variables MACRO_GLOBAL PANEL_GLOBAL to point to the locations where you have your panels and macros saved, then it should work. Another useful variable according to Star manuals could be STARUSR being the right place to locate prostar init files, such as PRODEFS and PROINIT. Hope it'll help. |
Re: global panel and macro / environment setup
Thank you very much, Vladimir. I will try it.
|
Re: global panel and macro / environment setup
I have tried editing proinit.bart file by putting in 'seten,panel,global$c:\progra~1\...'. But it seems the proinit.bart file has not been used by prostar.
|
Re: global panel and macro / environment setup
Thank you very very much Vladimir. It works well as to your first advice. STARUSR does not work yet. But it is good enough!
|
Re: global panel and macro / environment setup
There is an issue in the v3.26 windows version in that the STARUSR environment variable set in windows is overridden by the config.xml file, located in C:\Program Files\CD-adapco\STAR-CD\bin. To fix it, edit the config.xml file and change the STARUSR path.
|
Re: global panel and macro / environment setup
Thank you very much. I set STARUSR path to local directory and successfully let PROINIT go. All my problem have been solved.
|
All times are GMT -4. The time now is 00:51. |