cancel
Showing results for 
Search instead for 
Did you mean: 

How to start NX in Batch mode

Pioneer
Pioneer

Hi,

 

How to start NX in a background and it is not visible to any user?

 

11 REPLIES

Re: How to start NX in Batch mode

Siemens Phenom Siemens Phenom
Siemens Phenom

See "Executing Batch Applications" in the NX Open Programmers Guide

 

https://docs.plm.automation.siemens.com/tdoc/nx/11/nx_api/#uid:xid1162445:index_nxopen_prog_guide:id...

Re: How to start NX in Batch mode

Experimenter
Experimenter

set UGII_USER_DIR="Set your current working Folder"

call "C:\Siemens\NX100\UGII\ugraf.exe"

Re: How to start NX in Batch mode

Pioneer
Pioneer

Hi,

 

I know this solution.

 

My problem is that i want to run NX in background and it is not visible to user.

 

I want to convert .catprt to .jt model.

 

Re: How to start NX in Batch mode

Pioneer
Pioneer

Hi,

 

I am trying the method as mentione by siemens but getting error as shown in attached image.

 

https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_help#uid:index_ugcatia5:xid463626:xid458471

 

Re: How to start NX in Batch mode

Siemens Phenom Siemens Phenom
Siemens Phenom

Is there any information in the testfile_CATPart.log file?

Re: How to start NX in Batch mode

Pioneer
Pioneer

Hi,

 

Yes logfile is there.

please find the attachment.

 

 

Re: How to start NX in Batch mode

Siemens Phenom Siemens Phenom
Siemens Phenom
Not much to go on there. I would suggest contacting GTAC at this point.

Re: How to start NX in Batch mode

Pioneer
Pioneer

Hi,

 

please also find the attached image for one more error.

Don't know what does that mean ?

 

I tried by using catiav5.exe file from NX9 and NX 11.

 

 

Re: How to start NX in Batch mode

Siemens Phenom Siemens Phenom
Siemens Phenom
This means that your PATH is not defined correctly.

Any NX command line application should be launched from a NX Command Prompt to ensure that the environment is set up correctly. Use Start, All Programs, Siemens NX##, Tools, Command Prompt to open a NX command prompt.

If you are writing batch scripts, you need to be sure to set up the environment properly by calling ugiicmd.bat properly first. Examine the properties for the start menu shortcut referenced above for syntax:

C:\Windows\System32\cmd.exe /k ugiicmd.bat "C:\apps\Siemens\NX\11.0"