Opentoonz Set Scene Settings
opentoonz_set_scene_settingsChange a scene's camera resolution or frame rate by patching OpenToonz XML directly, since the scripting API lacks setters for these settings.
Instructions
Change a scene's camera resolution and/or frame rate (e.g. 1080p -> 720p).
OpenToonz's scripting API has no setters for these, so the scene file's XML
is patched directly; later edits to the scene keep the new settings. width
and height may be given independently — the omitted one keeps its value.
Re-render after changing this, and draw new art at the new size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| scene | Yes | ||
| width | No | ||
| height | No | ||
| workspace | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |