Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
(OP)
Hello
We have a part naming guide of PULxxxxx.prt in large letters ( like PUL000004, Teamcenter 11 ).
Now someone named native parts with small letters pulxxxxx.prt and NX 11 Import Assembly into TC gives an error and does not automatically change pul to large letters PUL .
How to change the small letters pul to large letters PUL ?
I want all those pul- to PUL- before importing the assembly. How is this possible ?
Someone said adding:
UGII_OPTION=UPPER
to
C:\Program Files\Siemens\NX 11.0\UGII\ugii_env.dat
would solve this problem.
But I do not see any difference:
1.) No "#"- mark on front of the text UGII_OPTION=UPPER ?
2.) Do I need those empty spaces above and below UGII_OPTION=UPPER ?
3.) What is similar file "ugii_env.dat_default" ? ( NX 11 )
4.) Are TC 11's NX-files in the same folder or how to change TC 11 NX-files also ?
We have a part naming guide of PULxxxxx.prt in large letters ( like PUL000004, Teamcenter 11 ).
Now someone named native parts with small letters pulxxxxx.prt and NX 11 Import Assembly into TC gives an error and does not automatically change pul to large letters PUL .
How to change the small letters pul to large letters PUL ?
I want all those pul- to PUL- before importing the assembly. How is this possible ?
Someone said adding:
UGII_OPTION=UPPER
to
C:\Program Files\Siemens\NX 11.0\UGII\ugii_env.dat
would solve this problem.
But I do not see any difference:
1.) No "#"- mark on front of the text UGII_OPTION=UPPER ?
2.) Do I need those empty spaces above and below UGII_OPTION=UPPER ?
3.) What is similar file "ugii_env.dat_default" ? ( NX 11 )
4.) Are TC 11's NX-files in the same folder or how to change TC 11 NX-files also ?
Quote (# # Copyright 1991 - 2013 Siemens Product Lifecycle Management Software Inc. # All Rights Reserved. # ############################################################################### # # # This file should be used to override any standard NX environment variables. # The values defined here will take precedence over the NX values. This file # will not be overwritten by an MR installation. # # Override any variables here. UGII_OPTION=UPPER #)





RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
replied in a maybe more logical order.
3) there are 2 files with almost the same purpose:
the
ugii_env_ug.dat This file contains all the publicized system variables for NX, do not edit but read and copy from this. Into:
ugii_env.dat Paste the copied variable into this file and change the value. It will then overrride the variable from the above. This file contains your site's settings.
You CAN set a Windows variable on each computer UGII_ENV_FILE = \\servername\directory\company-x_env.dat
where this "company-x_env.dat ( can have any name and placement) = the "ugii_env.dat" = Your overrides of NX variables.
4) you can in place almost all related files in the same folder.
( drop a question here, there are many files and many options)
1) remove the # in front of the variable.
# is "comment"
2) empty spaces are for human readability. no effect on NX
5) All the variables you set / can set in this file can also be set in the Windows control panel.
For testing purposes , this might be quicker.
6) MAKE SURE that your changed variable is used in the Session! ( and that somebody have setup NX such that it doesn't read the local files)
The ONLY (?) way to check this is to read the NX logfile.
File- help- NXlogfile, then search for the variable you tried to set, it will be there if you succeeded .
Regards,
Tomas
RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
www.nxjournaling.com
RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
NX 11 Log file:
"Using environment file \\PRO-TC-001\NX_Site\ugii_env.dat"
Do I need to ask the "server administrator" to change the setting ?
- So my changes here are useless =C:\Program Files\Siemens\NX 11.0\UGII\ugii_env.dat ?
These words are not found inside Log file:
"UGII_OPTION"="UPPER"
RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
one way is to ask the server admin ( who ever set your system up and has access to that file)
In the meantime, try set the variable in the windows control panel, it will override the "\\PRO-TC-001\NX_Site\ugii_env.dat"
Start- type "system" , then select the option "edit the system environment variables" that appears in the dialog above.
select the "Environment variables" button under the "advanced" tab,
you can then either select NEW under user variables or system variables
variable: UGII_OPTION ( No "=")
Varable value: UPPER
then restart both NX and Teamcenter.
again search the NX logfile for the string "upper".
If this looks good, you can try the import.
Regards,
Tomas
RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
Edit the system environment variables
RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
Is it this C:\Program Files\Siemens\NX 11.0\PSTUDIO\portal.bat ?
or this C:\Siemens\TCPROD\TC114T\portal\portal.bat ? ( The Teamcenter's "TCPROD 4-tier"-desktop icon launches this portal.bat )
- Could this work ?
- How portal.bat functions and where to insert the text ?
CODE -->
RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?
I doubt that it would make a difference to set it in the portal.bat
the result should be exactly the same i think.
I wonder if the next step should be calling the GTAC.
Regards,
Tomas