I was able to launch the Discovery software using PyAnsys' ansys.geometry.core in VSCode and execute a saved dscript with the following code. However, due to a bug in Discovery, I would like to pass arguments to SpaceClaim and execute a scscript. Is this possible?
from ansys.geometry.core import launch_modeler_with_discovery
modeler = launch_modeler_with_discovery()
output = modeler.run_discovery_script_file("ScriptingCode_Discovery\FileOpen.dscript")
print(output)