clo_run_python
Run Python scripts in CLO3D with pre-imported CLO APIs to inspect, edit patterns, manage fabrics, and automate 3D garment tasks.
Instructions
Run Python inside CLO with the CLO API modules pre-imported (import_api, export_api, fabric_api, pattern_api,
utility_api, rest_api, ApiTypes). A single expression returns its value; otherwise assign to result.
stdout is captured. Coordinates: mm, Y up. Example: pattern_api.GetPatternCount()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeout_seconds | No |