Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to lock Customer Defautls? 2

Status
Not open for further replies.

SvenBom

Mechanical
Jul 5, 2013
234
I am reading about Customer Defautls and site/group/user levels in NX Help. I would like to lock some Customer Defautls (like modeling/general/tolerancing scales). But I simply don't understand, how to set those levels and then lock the defaults. Is there a step by step or Customer Defaults for Dummies or anything else, where I could learn this?
 
Replies continue below

Recommended for you

I went through this a while back. The following thread has some of what I learned along the way...
thread561-274804

www.nxjournaling.com
 
Excellent! That was the problem. I also point my variable to the startup directory and not to its parent directory.
Thanks for this one!!!

And one more thing.
How can I set customer defautls and levels for the user so, that they only see the user level? If they have site avaialble, then they can change it.
 
The site.dpv file should be read only for everyone except the CAD administrator; then they can't change it. You'll need to set the file and folder permissions accordingly.

www.nxjournaling.com
 
OK, I have read your linked post again and do additional tests on my PCs.
Everything can be controlled nice and easy with read-only rights and domain settings for the user. So, no problem here anymore.

Thanks again for your quick reply and for solving the problem.
 
Maybe there is some fuzziness above , or I read it wrong.
anyhow, when i set up NX for a customer, I set in the Windows control panel :

UGII_ENV_FILE = \\server\directory\ugii_env_nx9.dat
( the name can be any name but i prefer to include the nx version and keep the "ugii_env...dat")

then in this file i set the variable UGII_SITE_DIR = \\server\directory
and under that directory there is a subdirectory "startup" which contains the .dpv files etc which i want NX to read /start ( toolbars etc.)

At the company where I currently work we also in the Windows control panel set the variable
UGII_GROUP_DIR = \\server\directory1\directory2
under "directory2" there is a "startup" which can/could contain a group-dpv
( since the "ugii_env_nx9.dat" is common for all users i need to set this variable locally.)

The variable string does not contain the "startup" ( \\server\directory1\directory2\startup )


Regards,
Tomas
 
Toost said:
The variable string does not contain the "startup"

Agreed; I had originally pointed the variable to the startup directory then wondered why it didn't work. You must specify the parent (one level up) of the startup directory. By the sounds of it, SvenBOM went through the same learning experience.

www.nxjournaling.com
 
Yes, I ponted the variable directly to the startup directory and not to its parent.
And a question for Toost.
You've mentioned, that in Windows control panel, you are only pointing to the ugii_env_nx9.dat. And that you define UGII_SITE_DIR in this file.

Why not define the UGII_SITE_DIR variable also in Windows control panel?
Is there a special reason for doing so? Or is it just to collect all the variables in one file/at one location?

 
In this case there is a "semi long story" behind why we didn't set the UGII_SITE_DIR in the windows control panel.

We have today two "config servers" where we store NX config, custom symbols etc, one in Europe and one in India. We might in the future setup more "config servers" in other parts of the world.
We wanted for this reason to have a solution such that the content of the "config servers" to be identical , including the ugii_env_nx9.dat - We can easily sync the other server if/when we make a change.
The way we solved it was to create a new Windows variable "NX_SERVER"
( NX_SERVER = \\servername\)
We can then in the ugii_env_nx9.dat set all the variables similar to :
UGII_SITE_DIR=${NX_SITE}\directory

So in the end each computer has three windows variables ( apart from the ones that the install creates)
NX_SITE = \\servernameUGII_GROUP_DIR = \\servername\directory\directory etc
UGII_ENV_FILE = \\servername\directory\ugii_env_nx9.dat


( - We did not succeed in having this NX_SERVER variable in the other two Windows variables, why all three has to have the full server name entered.)

Regards,
Tomas

 
Thank you for taking your time and explaining this. It was very helpful.

Thanks again to both for your help.
Best Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor