×
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

Startup site settings

Startup site settings

Startup site settings

(OP)
Hello,

Can someone help me figure out how to change from one version of startup site settings to another? I think I came across this in NX once and I can't find it currently.

I have a common PC that multiple folks want to use (via citrix) to run NX with different site settings. There are four options with startup files on the PC in the sites directory. Currently my NX batch file selects the site settings based upon the location code in the PC hostname:

set UGII_SITE_DIR=%ESS_TC_SITE_SERVER_UNC%\ESS_setups\Sites\%ESS_PC_SITE_CODE%
set UGII_ENV_FILE=%ESS_TC_SITE_SERVER_UNC%\ESS_setups\Sites\%ESS_PC_SITE_CODE%\startup\ugii_env.dat

I can modify the batch file, however I don't know of a varaible to use as it is only users connecting via citrix so what variable could i grab to change the startup ugii_env.dat file?

Running NX6.0.5.3 / TC8.3

Thanks,
Ryan

RE: Startup site settings

Are you talking about each user having their own unique site files?

If so, you could create multiple 'site' folders and then in each user's Windows profile add the environment variable pointing to their specific site folder. Then when they log-in, the system will already be pointing to that user's unique 'site' folder.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: Startup site settings

(OP)
John,

Thank you for the reply.

Let me try to clarify with an example.

Let’s say I have a server in Chicago and I need folks from around the US to log into their citrix account to connect to that server and start a TC and NX session there. Now folks that join from LA want their drafting settings to look one way... and folks from NYC want another way... While folks in Chicago have yet a third set of settings. Currently my batch file doesn't see them any differently and launches the settings that would be appropriate for a Chicago user as the server has a Chicago site code as its hostname.

I'm not exactly sure how Citrix works, if it starts a unique windows session i potentially could use their log in credentials based upon username to determine the site settings.

I was hoping that NX had a way to change the files that it looks toward manually. I think i saw this at one point, however I can't find it now so I may have been dreaming. When I go to File > Utilities > Customer Defaults > Drafting, I don't see the options that physically exist on the server.

I hope this helps explain what I am after...

Thanks,
Ryan

RE: Startup site settings

Since you are using a batch file, why call the env file at all?
I don't have an example, but you can use if then else statements in the batch file to test for a condition (location of the user or username for example).
Then you can set the drafting variables to explicitly tell NX where to dins the files it needs.

In your case I would create a user variable called ESS_LOCATION that each logon has set to be their location.
Then test for the value of the variable using if then else statements in the batch to then set the variables as below depending on the users location.

I would set the following variables for what you want to do.

UGII_LOCAL_USER_DEFAULTS - for a users customer defaults file (*.dpv)
UGII_USER_PROFILE_DIR - controls the location of MTX, history and roles for a user
UGII_LOCAL_USER_DRAFTING_STANDARD_DIR is for a users drafting standards
UGII_DRAFTING_STANDARD_DIR - is for the global drafting standards - currently in ...\ugii\drafting_standards

To debug, check the NX log files to see what the variables are being set to.

Anthony Galante
Senior Support Engineer

NX5.0.6, NX6.0.5, NX7.5.5, NX8.0.0 -> NX8.0.3.4
NX8.5.0.23 -> NX8.5.2.3 & NX9.0.0.19

RE: Startup site settings

(OP)
PhoeNX.

Thank you for the information, I'll try that and see if I can get it to work.

Thanks again,
Ryan

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