td_variant_restore
Restore a saved variant to a new .toe/.tox file as an exact byte copy, avoiding collapse and file replacement. Use to output a variant for comparison or export.
Instructions
Write a saved variant back out as a .toe/.tox file.
A byte copy of what was saved, not a repack: nothing is collapsed, so
TouchDesigner's toecollapse never runs and never moves a user's file aside
to a .bkp1 name. output must not exist — hand back a new path and compare with
td_project_diff rather than replacing anything in place. A directory as
output keeps the name the file had when it was saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| label | Yes | ||
| output | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |