KKKing
Mechanical
- Sep 12, 2014
- 28
I have a situation where in rolling out a new version of NX, I want to have the launch of NX look at the system to see if it can find a program log.txt file, and if so set one custom ugii_eng_cust_ectr.dat file. This configuration would be based on running NX with a SAP PLM system. If it does not find this txt file, it should then load an alternative custom file, ugii_env_cust.dat, which would be the custom settings for running NX native. The two custom dat files are located on a network drive and are currently selected by manually changed the Ugii_evn.dat file with the correct custom data file.
The logic of what I am trying to do is:
if c:\"Local path"\ectr_revision_log.txt is located
Load U\"network path"\ugii_env_cust_ectr.dat (SAP customizations)
If not then load U:\"network path"\ugii_env_cust.dat (Native Customizations)
The questions that I have are:
Is there a list of commands that can be used within the Ugii_env.dat file? It would be nice if there are any type of commands that allows for if then type statements.
How would be the best way to set up something like this where the launching of the NX program then has to look to see if there is a set file on it to know which custom conf file it needs to load?
The over all goal is that the launching of the program can determine if the workstation has been switched over to a SAP user or still a native NX user.
Thanks,
Kevin
The logic of what I am trying to do is:
if c:\"Local path"\ectr_revision_log.txt is located
Load U\"network path"\ugii_env_cust_ectr.dat (SAP customizations)
If not then load U:\"network path"\ugii_env_cust.dat (Native Customizations)
The questions that I have are:
Is there a list of commands that can be used within the Ugii_env.dat file? It would be nice if there are any type of commands that allows for if then type statements.
How would be the best way to set up something like this where the launching of the NX program then has to look to see if there is a set file on it to know which custom conf file it needs to load?
The over all goal is that the launching of the program can determine if the workstation has been switched over to a SAP user or still a native NX user.
Thanks,
Kevin