Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

customer defaults

Status
Not open for further replies.

vitulin

Automotive
Nov 1, 2007
79
Hi,

I found in help, that when you change customer defaults, there should be 3levels. user, group, site. These should all be specified in a file. I found out, that in the nx4_user.dpv file, there are only settings, that are different. I tried to find the nx4_site.dpv file which I presume there should be all the settings. The thing is, that I cant find that file anywhere. In case, that there is no file, how can you create a new default file?

Thanks in advance
Vit
 
Replies continue below

Recommended for you

This thread may help.


Also follow up on your other post, I made a similar comment in response to that thread.


There is one set of customer defaults, but as I understand it you can adopt strategies to have different settings on a customer or project basis, to control any of the defaults but most usually things like drawing formats, part templates and reference sets. That has always been where ugii_env.dat comes in, but you can also set the variables in a batch file, as the top post will describe. You'll also note that there are a great many versions of what people like to do. I can only counsel that you should try and keep it simple, many of the possible methods will work, but they seem almost intentionally complex beyond what is really necessary.

Then you could identify a class of things that users would have changed to suit their personal preferences, but the intent seems to be that most of that can be customized using roles by the user on the fly.

Now if there's just one thing you want to customize then ask and if we can identify a good way to do it then of course we will try.

If you're using Teamcenter then certain aspects get a little more complex, so don't forget to mention that along with your version of NX.

Best Regards

Hudson
 
Thanks,

I have checked the threads and you can find quite a lot of important information. The problem what I have is, that most of it is about ug env dat files, but not about the customer defaults files. I would like to know, how the file should be created ( for example for the site or group) and who can edit it. I created the nx4_group.dpv file, set the environment variable pointing to that file, but when I start UG, it only uses customer defaults from nx4_user.dpv...and the only level shown is USER. I have tried to log on as administrator to see, if the level GROUP will appear, but nothing happend. I also tried to set different things in the Group one to USER, but it always uses the USER settings.

Thanks for the response.

Vit
 
Check your environmental variable settings in your computers System Properties (Control Panel -> System -> Advanced -> Environmental Variables).
We run FiberSim along with NX, and it hijacks some of those variables.

Believe it if you need it or leave it if you dare. - [small]Robert Hunter[/small]
 
Yes, the environment variables are set as it is written in the help. I have simply created the group file from user, but it doesnt work. Unfortunately there is not specified, how the computer recognize, who can change the group or site customer defaults and how the files should look like.
 
The other question is, who is allowed to change the defaults and how? On my home computer, it says read only and I cant find a way to change it.
Thanks
V.
 
create all 3 files site, group and user.dpv. put them in your startup directory. list all three files in your environment variables you must point to the file not just the directory. example UGII_LOCAL_GROUP_DEFAULTS must point to the file group.dpv. In a work place environment the site director or who ever manages your files and standards is given this environment variable he then can manage all 3 levels and he can lock any option he wants to and choose the level of security he wants. for eample he does not want a detailer to have the ability to change the default drawing sheet name, but he wants a designer to have the ability to change that. in the customer defaults window at the top he selects group and then beside the option he clicks on the lock and then clicks apply. that option is now locked for the user level and can't be changed. but it has been left unlocked for the designer that is in the Group defaults, If he had locked the option at the site level neither the group or user would be able to change the option. If your logged in as a user you will not see the locks that are shown in the dialogs as user is the lowest or highest security depending on how you look at it. Now the site director sets each users access by setting the proper environment variable. This is best done in a batch file that can easily be modified to control users access to the customer defaults. There is more to setting a user up using batch files and it has been discussed here in depth just search the site for it.


Smitty
 
Thanks Smitty,

this is slightly confusing, because in the help, there is written to set the environment variable as UGII_GROUP_DIR...i tried that and it didnt work. The other thing is, that even when I was logged in as administrator, I couldnt change the file, which could be because it simply didnt take the values from the file. I checked it by exporting the variables into excel and for group variables, there was no setting. Which mean, that they werent loaded. You mentioned to put them into startup directory...what do you mean by it? I thought, that you should put it wherever you like and then point the environment variable to it.
 
Vitulin

The UGII_GROUP_DIR only sets the directory, the UGII_LOCAL_GROUP_DEFAULTS points to the file itself. The startup directory is a directory you create to keep custom toolbars and user files in. If you want more info on this check my profile and email me.



Smitty
 
set UGII_LOCAL_USER_DEFAULTS=X:\nx5_user.dpv
set UGII_GROUP_DIR=X:\companyShare\
set UGII_SITE_DIR=X:\companyShare\

Where companyShare directory has a startup folder.
Example:
X:\companyShare\
-startup

When these variables are set the Site and Group customer defaults will be available. The site and group .dpv and .xsl files will be created in the startup folder by NX. Only the UGII_LOCAL_USER_DEFAULTS needs to point directly to a file, the other variables point to a folder.

Set the variables in the eng_env.dat file and set the location of the eng_env.dat file by setting the UGII_ENV_FILE variable, in a system environment variable or startup script.

Additional variable to set where user profiles should be stored and loaded from.

set UGII_USER_PROFILE_DIR=X:\user.mtx

-Dave Tolsma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor