NX 7.5 & Vista Key Mapping

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

Hi,

I have Windows Vista 64Bit, NX 7.5 and the latest release on 3D Connexion Drivers for my Space Pilot Pro.

As per other topics, the key mapping in the control panel does nothing for NX, so with searching i came across http://www.3dconnexion.co.uk/nc/service ... 013739b210

I have made the Changes as per FAQ, but still my button is greyed out.

Any ideas?

Image

Image

I need a step by step guide, as i am not the computer administrator, so will require another 'non-technical' user todo this.
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

Cant edit my page, but here is the screenshot of it still greyed out

Image
Bryan
Moderator
Moderator
Posts: 443
Joined: Thu Dec 07, 2006 1:37 pm
Location: Rochester NY

Re: NX 7.5 & Vista Key Mapping

Post by Bryan »

Dear Jordan_Fern,

Try this FAQ for each verison of NX you have installed:
----------------------------------------------------------------------------
http://www.3dconnexion.co.uk/nc/service ... 013739b210
----------------------------------------------------------------------------

"Button Mapping Editor" and "Device Settings" are grayed out in NX

The 3DConnexion Plug-in for NX requires the following System Environment Variables to be set correctly:

1.Rename the global system environment variable from
"UGII_3DCONNEXION_LIBRARY"
to
"UGII_3DCONNEXION_LIBRARY_BAK"

2.Open the following file (e.g. for NX6):
C:\Program Files\UGS\NX 6.0\UGII\ugii_env.dat

3.Add the following line to this file:
UGII_3DCONNEXION_LIBRARY=${UGII_BASE_DIR}\UGALLIANCE\vendor\startup\3dxnx.dll

Repeat steps 2. and 3. for all NX installations.

Sincerely,
Bryan
The more things change, the more they remain the same. ; ^ )
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

sorry i attached the wrong link, thats the FAQ i followed (hence the screenshot showing i added the line at the bottom of the .dat file)

Still didnt work :(
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

Bump :)
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: NX 7.5 & Vista Key Mapping

Post by UtaSH »

Hi Jordan_Fern,

did you install the software (3DxSoftware) package as a whole package or did you extract the msi files and installed them seperately?

Is the variable UGII_BASE_DIR defined on your system?
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

I Had the complete package installed (I have all the applets and other files)

What do you mean defined? I've had installed NX as default, then 3D connection. What else needs defining?
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: NX 7.5 & Vista Key Mapping

Post by UtaSH »

Go to the Windows control panel -> System and Security -> System -> Advanced System Settings -> Tab Advanced -> Button Environment Variables. In the box "System variables" check if the variable UGII_BASE_DIR exists.
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

Unfortunately i cannot access this applet as i am not a system administrator.

I would image this does if it was originally installed with the 3DConnexion package.
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: NX 7.5 & Vista Key Mapping

Post by UtaSH »

Just to be sure do the following:
  • open a command prompt
  • write set
  • parse the list for the variable UGII_BASE_DIR
Let me know your findings.
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

I have: UGII_3DCONNEXION_LIBRARY=%UGII_BASE_DIR%\ugalliance\vendor\startup\3DxNX.dll

Here is a copy of my ugii_env.dat

Code: Select all

#
#     Copyright 1991 - 2009 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, as long as
# they are defined before the #include of ugii_env_ug.dat. This file will not
# be overwritten by an MR installation. 
#
# Override any variables here.

#
# Do not define any variables after the #include below. They must be defined
# before the #include in order to override the NX defaults.
#
#if FILE ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#include ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#endif
UGII_3DCONNEXION_LIBRARY=${UGII_BASE_DIR}\UGALLIANCE\vendor\startup\3dxnx.dll 
What else could i do?
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

I have asked my local admin to change the file so it now reads:

Code: Select all

#
#     Copyright 1991 - 2009 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, as long as
# they are defined before the #include of ugii_env_ug.dat. This file will not
# be overwritten by an MR installation. 
#
# Override any variables here.
ugii_3dconnexion_library=%ugii_base_dir%\ugalliance\vendor\startup\3dxnx.dll
#
# Do not define any variables after the #include below. They must be defined
# before the #include in order to override the NX defaults.
#
#if FILE ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#include ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#endif
 
This still has not enabled the button :(
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: NX 7.5 & Vista Key Mapping

Post by UtaSH »

Hello Jordan_Fern,

please check with the command
  • set
if you have the variable
  • UGII_BASE_DIR
If this is not defined the other settings do not help.
Jordan_Fern
Posts: 11
Joined: Mon Jan 21, 2013 9:54 am

Re: NX 7.5 & Vista Key Mapping

Post by Jordan_Fern »

Code: Select all

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

Y:\>set
A1156_SERVER=NONE
ABAQUSLM_LICENSE_FILE=1732
ALLUSERSPROFILE=C:\ProgramData
ANSYS121_DIR=C:\Program Files\ANSYS Inc\v121\ANSYS
ANSYS_SYSDIR=winx64
ANSYS_SYSDIR32=win32
APPDATA=C:\Users\u521373\AppData\Roaming
AWP_ROOT121=C:\Program Files\ANSYS Inc\v121
CADOE_DOCDIR121=C:\Program Files\ANSYS Inc\v121\CommonFiles\help\en-us\solviewer

CADOE_LIBDIR121=C:\Program Files\ANSYS Inc\v121\CommonFiles\Language\en-us
CCP_INC=C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\
CCP_LIB32=C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\i386\
CCP_LIB64=C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\amd64\
CCP_SDK=C:\Program Files\Microsoft HPC Pack 2008 SDK\
CEE_APP_DIR=RR_CONFIG_GLOBAL\CEE_Vista
CEE_CLIENT_CONFIG_LOCATION=tp02ClientConfig
CEE_CLIENT_DRIVES_FILE=tp02DriveConfiguration.csv
CEE_CLIENT_TIMESTAMP_FILE=tp02Expiry
CEE_CONFIG_EXPIRY=28
CEE_DEFAULT_DRIVE_FILE=DefaultDrives.csv
CEE_ENGTEMP=D:\Scratch\u521373\EngTemp
CEE_EXCEED_PATH=C:\Program Files\Hummingbird\Connectivity\13.00\Exceed\exceed.ex
e
CEE_LOCAL_IP=10.117.10.49
CEE_LOCAL_WIP=C:\Users\u521373\AppData\Local\LOCAL_WIP
CEE_REGIONAL_CONFIG_DIR=CEE
CEE_REGION_CONFIG_VERSION_NUMBER=3.11
CEE_Scratch=D:\Scratch
CEE_SITE_CODE_SERVER_FILE=Site_CodeServer.csv
CEE_SSH_CONFIG_INTERIX=/dev/fs/Y/.ssh
CEE_TEMP=D:\Scratch\u521373\TEMP
CEE_VERSION=6.1
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=VE4043575
ComSpec=C:\Windows\system32\cmd.exe
DFSTRACINGON=FALSE
DISPLAY=localhost:0.0
EDITOR=vi
EXINIT=so /h/u521373/.cee64.exrc
FIPER_HOME=C:\Program Files\SIMULIA\Isight\3.5-3
FIPER_HOME_35=C:\Program Files\SIMULIA\Isight\3.5-3
FP_NO_HOST_CHECK=NO
HOMEDRIVE=Y:
HOMEPATH=\
HOMESHARE=\\DENASVF2B\U521373$
ICEMCFD_ROOT121=C:\Program Files\ANSYS Inc\v121\icemcfd
INTERIX_ROOT=/dev/fs/C/Windows/SUA/
INTERIX_ROOT_WIN=C:\Windows\SUA\
KMP_DUPLICATE_LIB_OK=TRUE
LD_LIBRARY_PATH=/usr/lib/x86:/usr/X11R6/lib
LOCALAPPDATA=C:\Users\u521373\AppData\Local
LOGONSERVER=\\UKDEWDC002
LPDEST=//UKDEWPS015/W3263040
LSTC_LICENSE=ANSYS
MINITAB_LICENSE_FILE=27000@localhost
ND_INC=C:\Program Files\Microsoft HPC Pack 2008 SDK\Include\
NUMBER_OF_PROCESSORS=12
OPENNT_ROOT=/dev/fs/C/Windows/SUA/
OS=Windows_NT
Path=C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin\;C:\Windows\system32;C:\Wi
ndows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Windows Imaging\;C:\Window
s\SUA\common\;C:\Windows\SUA\usr\lib\;C:\Program Files\SIMULIA\Abaqus\Commands;C
:\MSC.SOFTWARE\Patran\2008_r1\bin;C:\Windows\SysWOW64\;C:\Windows\SysWOW64\Wbem;
C:\Program Files (x86)\AdminStudio\9.5\Common;C:\Program Files (x86)\tcVis\83\Pr
oducts\Mockup\ClearanceDB
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Path_backup=C:\Windows\SysWOW64\;C:\Windows\SysWOW64\Wbem;C:\Program Files (x86)
\AdminStudio\9.5\Common
PGROUPD_LICENSE_FILE=27018@rrukbsl
PKG_LOCATION=/var/db/pkg/CACHE/
PKG_PATH=/var/db/pkg/CACHE/
PKG_TMPDIR=/var/db/pkg/tmp
PRINTER=//UKDEWPS015/W3263040
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2c02
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
PUBLIC=C:\Users\Public
P_SCHEMA=C:\Program Files\ANSYS Inc\v121\AISOL\CAD Integration\Parasolid\PSchema

RRCONFIG_APPS_DRIVE=W:
RRCONFIG_CONFIG_DRIVE=W:
RRCONFIG_REGION=RRUK
RRCONFIG_SITE=dby
RR_LD_LICENSE_FILE=6915@rrlser1
RR_PYTHON_DIR=C:\Python
SAPLOGON_INI_FILE=w:\saplogon\saplogon.ini
SESSIONNAME=Console
SFUDIR=C:\Windows\SUA\
SFUDIR_INTERIX=/dev/fs/C/Windows/SUA/
SHELL=/bin/csh
SUA_ROOT=/dev/fs/C/Windows/SUA/
SUA_ROOT_WIN=C:\Windows\SUA\
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\u521373\AppData\Local\Temp
TMP=C:\Users\u521373\AppData\Local\Temp
TMPDIR=C:\Users\u521373\AppData\Local\Temp
TRACE_FORMAT_SEARCH_PATH=\\winseqfe\release\Windows6.0\lh_sp2rtm\6002.18005.0904
10-1830\amd64fre\symbols.pri\TraceFormat
UATDATA=C:\Windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
UGII_3DCONNEXION_LIBRARY=%UGII_BASE_DIR%\ugalliance\vendor\startup\3DxNX.dll
USERDNSDOMAIN=UK.ROLLS-ROYCE.COM
USERDOMAIN=RR_AERO
USERNAME=u521373
USERPROFILE=C:\Users\u521373
VIMINIT=so /h/u521373/.cee64.vimrc
windir=C:\Windows
WZ01_NOFLEXLM_SERVER_BIN=/dev/fs/C/Users/u521373/AppData/Local/Temp/CEE_Cache/wz
01_noflexlm_server_win32.exe
XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XNLSPATH=/usr/X11R6/lib/X11/locale

Y:\>
How else can i Set the directory?
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: NX 7.5 & Vista Key Mapping

Post by UtaSH »

You need an admin person to do this:

Go to the Windows control panel -> System and Security -> System -> Advanced System Settings -> Tab Advanced -> Button Environment Variables. In the box "System variables" click to the button "New..." and enter as Variable name "UGII_BASE_DIR" (without the quotes). The Variable value needs to be the base directoy of your NX installation. On my machine it is "C:\Program Files\Siemens\NX 8.5".
Post Reply