run_script
Run a SpaceClaim Python (IronPython) script for CAD tasks not covered by the typed tools. Pass inputs via argsDict, return outputs in result, and the design is re-read afterward.
Instructions
Escape hatch: run a script inside the product for anything the typed tools do not cover. The design is re-read afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Passed as argsDict. | |
| code | Yes | SpaceClaim Python (IronPython) script using the SpaceClaim API of the running release. Read inputs from the dict argsDict; put outputs in a dict named result (string values). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||