execute_salome_code
Run arbitrary Python code inside SALOME to automate tasks and return a result variable. Use for custom CAD modeling and meshing beyond standard operations.
Instructions
Execute arbitrary Python code in the SALOME process.
The executed code can set a result variable that will be returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |