Cancel
Showing results for 
Search instead for 
Did you mean: 

DLX error in NX10

Genius
Genius

I'm trying to run a new dialog box written in python on NX10.

 

I changed my environment path variable to

variable name="%USERPROFILE%\myproject"

variable value= "C:\Program Files\Siemens\NX 10.0\UGII\"

 

The python file and the dxl file are in C:\Users\myusername\myproject\src\application

3 REPLIES

Re: DLX error in NX10

Siemens Phenom Siemens Phenom
Siemens Phenom

C:\Users\myusername\myproject\src should be referenced by UGII_USER_DIR, UGII_GROUP_DIR, UGII_SITE_DIR, or be an entry in a text file referenced by UGII_CUSTOM_DIRECTORY_FILE.

Re: DLX error in NX10

Genius
Genius

JimB wrote:

C:\Users\myusername\myproject\src should be referenced by UGII_USER_DIR, UGII_GROUP_DIR, UGII_SITE_DIR, or be an entry in a text file referenced by UGII_CUSTOM_DIRECTORY_FILE.


Hi Jim,

 

Thanks for the tip.

 

so variable name should be "UGII_USER_DIR"

 

and variable_value - "C:\Users\myusername\myproject\src"

 

correct?

 

Re: DLX error in NX10

Siemens Phenom Siemens Phenom
Siemens Phenom

Yes. UGII_USER_DIR=C:\Users\myusername\myproject\src should work.