quicova
Marine/Ocean
- May 29, 2014
- 9
Hello, I'm having a go at setting environmental variables and start up scripts to set the templates on a server.
So I created a templates folder on the server, created the templates and changed the .pax files to suit.
Then I copy pasted the ugii_env.dat file to the server and added this line:
UGII_TEMPLATE_DIR= path to the templates folder
Then created a small script to launch NX that I will give to everyone using NX:
@echo off
set UGII_ENV_FILE=path to the ugii_env.dat on the server
start "" "C:\Program Files\Siemens\NX 9.0\UGII\ugraf.exe"
Now my question is, If anyone for some reason doesn't have access to the server because they are off site or working offline they can't access any of this things.
Can I write an IF statement on the launch script that if the ugii_env.dat is not found to use the standard NX setting in the root directory?
How do I do this?
Is there also a environmental variable to change the welcome screen to a different one?
I found this one: UGII_BACKGROUND_URL, but if the welcome help page is turned off it will not work
is there an environmental variable to turn that help welcome screen back on again?
Thanks so much
best regards
Francisco
So I created a templates folder on the server, created the templates and changed the .pax files to suit.
Then I copy pasted the ugii_env.dat file to the server and added this line:
UGII_TEMPLATE_DIR= path to the templates folder
Then created a small script to launch NX that I will give to everyone using NX:
@echo off
set UGII_ENV_FILE=path to the ugii_env.dat on the server
start "" "C:\Program Files\Siemens\NX 9.0\UGII\ugraf.exe"
Now my question is, If anyone for some reason doesn't have access to the server because they are off site or working offline they can't access any of this things.
Can I write an IF statement on the launch script that if the ugii_env.dat is not found to use the standard NX setting in the root directory?
How do I do this?
Is there also a environmental variable to change the welcome screen to a different one?
I found this one: UGII_BACKGROUND_URL, but if the welcome help page is turned off it will not work
is there an environmental variable to turn that help welcome screen back on again?
Thanks so much
best regards
Francisco