×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Changing small letters to large with UGII_OPTION=UPPER NX 11 ?

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 ?

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 ?

Cant help you translate these characters but i can help on the other questions.
replied in a maybe more logical order. smile

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 ?

And don't forget that you will need to restart NX to see the effect of these changes.

www.nxjournaling.com

RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?

(OP)
It seems to be using this file:
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 ?

then your changes are not used.
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 ?

(OP)
Now NX 11 won't start when the code is in there. Should I try to restart windows or just remove the added UPPER code.

Edit the system environment variables

RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?

(OP)
Someone suggested adding the UGII_OPTION=UPPER to somewhere in the portal.bat -file.
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 -->

@echo off
rem 

setlocal

rem TPR is short for TC_PORTAL_ROOT to reduce command line length
title Teamcenter Rich Client

call "C:\Siemens\TCPROD\TC114T\install\tem_init.bat"

set TPR=C:\Siemens\TCPROD\TC114T\portal
set FMS_HOME=C:\Siemens\TCPROD\TC114T\tccs
%FMS_HOME%\bin\fccstat -kill

rem use AUX_PATH env var for any additional required paths
rem save original path for external applications
set ORIGINAL_PATH=%PATH%
rem for optimal startup performance, keep the PATH length at a minimum
set PATH=%SYSTEMROOT%\system32;%FMS_HOME%\bin;%FMS_HOME%\lib;%TPR%;%AUX_PATH%

set JAVA_HOME=%TC_JRE_HOME%
set JRE_HOME=%TC_JRE_HOME%



:start_portal
cd /d %TPR%
set CLASSPATH=.;
set VM_XMX=1024m

rem Set DJIPJL_VMARG environment variable
IF EXIST "%TPR%\djipjl\setenv.cmd" call "%TPR%\djipjl\setenv.cmd"

@echo Starting Teamcenter Rich Client...
start Teamcenter.exe %* -vm "%JRE_HOME%\bin\javaw.exe" -vmargs -Xmx%VM_XMX% -XX:MaxPermSize=128m -Xbootclasspath/a:"%JRE_HOME%\lib\plugin.jar";"%JRE_HOME%\lib\deploy.jar";"%JRE_HOME%\lib\javaws.jar" %DJIPJL_VMARG% 

RE: Changing small letters to large with UGII_OPTION=UPPER NX 11 ?

This is strange. I do not run Teamcenter on the computer i tested the UGII_OPTION on, there it works flawless.
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources