How do I run Discovery in batch?
Landon Mitchell Kanner
Member, Employee, GitHub-issue-creator Posts: 324
✭✭✭✭
in 3D Design
Best Answers
-
"%awp_root231%\Discovery\Discovery.exe" --hidden --run-script "D:\myfilepath\Open_Save.dscript" --exit-after-script
More command line options are in the help documentation. For v23.2:
https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v232/en/discovery/UDA/user_manual/general/topics/c_Cmd.html5 -
You can also leverage PyAnsys Geometry for this purpose through the "run_discovery_script_file" API
1
Answers
-
Is it possible to make the CLI call to Discovery blocking? Running the command immediately returns "0" to Windows cmd.
0 -
Is it possible to make the CLI call to Discovery blocking?
start /wait "" "%awp_root242%\Discovery\Discovery.exe"
0