Skip to content

Surface error message from SpaceClaim/Discovery scripting into PyAnsys Geometry #1891

Open
@RobPasMue

Description

@RobPasMue

Discussed in #1884

Originally posted by dhtdean April 7, 2025
Hi, I am wondering if there are ways to get more detailed runtime error messages other than "Script run failed."?

Context: I am using .run_discovery_script_file(script_file_path) in jupyter notebook to run the script automatically, and would like to pass the error message from status history bar in spaceclaim back. For example, I can see in the status history the error message is " Must contain a selection of any type" in the spaceclaim console. Any ways to pass this back to jupyter notebook?

Thanks

This only happens when talking to SpaceClaim/Discovery. Core Service and DMS are not impacted by it since they have a different implementation and they already surface the error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions