Multiple optistruct jobs after eachother
Hello,
Can I set up some batch file in which multiple optistruct will run after eachother? As an example: Batch.bat
cd topo_v17
C:\Altairwin64\hw10.0\hwsolvers\bin\win64\optistruct.bat basis_optistruct_test_topo_V17.fem -check
cd ..
cd topo_v18
C:\Altairwin64\hw10.0\hwsolvers\bin\win64\optistruct.bat basis_optistruct_test_topo_V18.fem -check
cd ..
If I run batch.bat everthing runs fine, basis_optistruct_test_topo_V17.fem is checked. But after this check nothing happens anymore... not even the command cd ..
Is there an option somewhere or can anyone help me? Thanks in advance!
Ben
Answers
-
Call the solver with the DOS command 'call', i.e.
cd topo_v17
call C:\Altairwin64\hw10.0\hwsolvers\bin\win64\optistruct.bat basis_optistruct_test_topo_V17.fem -check
cd ..
cd topo_v18
call C:\Altairwin64\hw10.0\hwsolvers\bin\win64\optistruct.bat basis_optistruct_test_topo_V18.fem -check
cd ..
Regards
0 -
Thanks!
0 -
Hello,
Can I set up some batch file in which multiple optistruct will run after eachother? As an example: Batch.bat
cd topo_v17
C:\Altairwin64\hw10.0\hwsolvers\bin\win64\optistruct.bat basis_optistruct_test_topo_V17.fem -check
cd ..
cd topo_v18
C:\Altairwin64\hw10.0\hwsolvers\bin\win64\optistruct.bat basis_optistruct_test_topo_V18.fem -check
cd ..
If I run batch.bat everthing runs fine, basis_optistruct_test_topo_V17.fem is checked. But after this check nothing happens anymore... not even the command cd ..
Is there an option somewhere or can anyone help me? Thanks in advance!
Ben
and the other way is to use task manager:
create every bat file into its own directory and prepare tasks for that bat file /emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'> sometimes i use like that way
0