Skip to content

script_args should be an optional argument on run_discovery_script_file argumentΒ #870

@XIAO-GUO-commint

Description

@XIAO-GUO-commint

πŸ” Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

I want to run a script in SpaceClaim using run_discovery_script_file, but I'm unsure what to include in script_args. I have reviewed the original documentation, but it did not provide guidance on how to manage this.

from ansys.geometry.core import launch_modeler_with_spaceclaim

modeler_discovery = launch_modeler_with_spaceclaim()

modeler_discovery.run_discovery_script_file(file_path=r'E:\2023project\nncx\muti-optimize\Mesh_Gem\1.scscript',script_args=script_args)
image

πŸ“ Steps to reproduce

I want to run a script in SpaceClaim using run_discovery_script_file, but I'm unsure what to include in script_args. I have reviewed the original documentation, but it did not provide guidance on how to manage this.

πŸ’» Which operating system are you using?

Windows

πŸ“€ Which ANSYS version are you using?

23r2

🐍 Which Python version are you using?

3.10

πŸ“¦ Installed packages

numpy
pandas
ansys-geometry...

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions