ReferenceAvailable
Python Script
Keep model-building Python alongside the visual model.
Keep model-building Python alongside the visual model.
Where to find it
Definitions → Python; Python workspace
How to use it
Open the Python workspace, review the script, and run it deliberately; inspect the model tree after it finishes.
Settings and initial values
| Setting | Initial value |
|---|---|
| scriptName | Python Script 1 |
| source | No initial value specified |
| pythonExecutable | No initial value specified |
| scriptPath | No initial value specified |
| workingDirectory | No initial value specified |
| arguments | No initial value specified |
| timeoutSeconds | 120 |
| autorun | false |
| lastStatus | idle |
| lastOutput | No initial value specified |
| enabled | true |
Result
Applied changes appear in the model tree; builds and solves remain explicit operations.
Troubleshooting
Python execution can change the model. Save a copy before running unfamiliar code.