Showing results for 
Search instead for 
Do you mean 
Reply

How to start NX in Batch mode

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

[ Edited ]

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

set UGII_USER_DIR="Set your current working Folder"

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

Re: How to start NX in Batch mode

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

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

Is there any information in the testfile_CATPart.log file?

Re: How to start NX in Batch mode

Hi,

 

Yes logfile is there.

please find the attachment.

 

 

Re: How to start NX in Batch mode

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

Re: How to start NX in Batch mode

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

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"