Showing results for 
Search instead for 
Did you mean: 

batch script - solve all solutions


Hi, Another question from me Smiley Happy


I have found out using this forum that I can write a batch script that will run all defined solutions. I have written a batch file as shown below:


"C:\Program Files\Siemens\NX 10.0\NXNASTRAN\bin\nastran64L.exe" filename.dat scr=yes auth=28000@servername parallel=2 mem=25gb


Is there any license issues with running batch solve? The error I get when running the batch file is that NX could not obtain license. It looks like I only have a desktop basic license. I guess this means that I have to solve the solutions using the "solve" button in NX or is there a way of using batch file to solve the solutions?



I know its possible to use "solve all solutions" in NX window but cant get it to work properly. Solves only the first solution and NX gets inoperable. Looks like NX is freezing while solving. Can not exit the advance simulation module while using the "solve all solutions"




Re: batch script - solve all solutions

Siemens Genius Siemens Genius
Siemens Genius

You need to add prog=desk ( or prog=bundle for a bundle license).

Re: batch script - solve all solutions




It worked with prog=bundle


Tank you!! Smiley Happy