TouchDesigner stores projects in a .toe
(TOuch Environment) binary file, which poses limitations for collaborative workflows, especially when merging changes.
Developers often save external .tox
(TOuch eXternal component) files and various text-based DATs (e.g., .py
, .glsl
, .json
). This process is repetitive and can become difficult to manage in larger networks.
Embody automates the externalization of COMPs and DATs in your project. Tag any COMP or DAT operator by selecting it and pressing lctrl
twice in a row. Upon saving your project (ctrl + s
) or updating Embody (ctrl + shift + u
), Embody externalizes tagged operators to a folder structure mirroring your project network, and keeps them updated.
For instance, externalizing base2
within base1
results in the path: {project.folder}/base1/base2.tox
.
To get started, drag-and-drop the Embody .tox
from the /release
folder into your project.
-
Download and Add Embody: Drag and drop the Embody
.tox
from the/release
folder into your project. -
Initialize Embody: Upon creation, choose to initialize or keep the last saved state. Typically, use initialize for new projects, or keep the saved state if you're updating Embody from an older version. The default externalization folder is the root of your project folder. This can be customized. Moving the folder disables Embody, which then recreates the folder structure in the new location and removes the old one entirely.
-
Tag Operators for Externalization:
- Select an operator and press
lctrl
twice to add the externalization tag desired. - Supported OP types:
- All COMPs except engine, time and annotate
- Text DAT
- Table DAT
- Execute DAT
- Parameter Execute DAT
- Parameter Group Execute DAT
- CHOP Execute DAT
- DAT Execute DAT
- OP Execute DAT
- Panel Execute DAT
- Supported file formats:
- .tox, .py, .json, .xml, .html, .glsl, .frag, .vert, .txt, .md, .rtf, .csv, .tsv, .dat
- Select an operator and press
-
Enable/Update Externalizations:
- Pulse the
Enable/Update
button or pressctrl + shift + u
. - Embody externalizes tagged COMPs and DATs, matching your project network structure.
Note: If no tags are specified, all externalizable COMPs and DATs will be externalized, which might slow down complex projects.
- Pulse the
Embody keeps your external toxes updated. Saving your project (ctrl + s
) autosaves modified (dirty) COMPs. DATs synchronize automatically if their Sync to File parameter is enabled.
Use
ctrl + shift + u
as an alternative to update only dirty COMPs.
To view dirty COMPs, press
ctrl + shift + e
to open the Manager UI, listing all externalized operators and their status. Refresh to get the latest dirties and update as needed. Changing any COMP parameter will also mark that COMP as dirty.
- Adds and updates
Build Number
,Touch Build
andBuild Date
parameters in anAbout
page to any externalized COMP, for robust version tracking. - Prompts whether to reference or clone an operator when a duplicate file path is detected.
- Prevents clones and replicants (and their children) from being externalized
- Can externalize the entire project in one click with the
Externalize Full Project
pulse. - Isolated data/logic pattern with an
externalizations
tableDAT outside of Embody for easy updating and management. - UTC timestamps for synchronized international workflows.
To completely reset and remove externalizations, pulse the Disable
button.
Note: This can delete all externalized files, their path parameters (
externaltox
andsyncfile
), and any resulting empty folders. To reinstate, pulse theEnable/Update
button.
ctrl + shift + e
: Open the Manager to view and manage externalized operators.lctrl + lctrl
: Tag the current selected operator by pressing the left control key twice.ctrl + shift + u
: Initialize/update externalizations.
Originally developed by Tim Franklin. Refactored entirely by Dylan Roscover, with inspiration and guidance from Elburz Sorkhabi, Matthew Ragan and Wieland Hilker.
- 4.6.4:
- Add About page to externalized COMPs with:
- Build Number
- Touch Build
- Build Date (time tox was saved)
- Add Build/Touch Build to externalization table + Lister
- Window resizing support and cleaned up min/max button methods
- Add About page to externalized COMPs with:
- 4.5.23:
- Fix deletion of old file storage after renaming operation
- Cleanup network
- Tagging optimization
- Cleanup folder structure
- Remove folderDAT
- Fix duplicated rows from externalizations tsv git merge conflicts
- 4.5.19: Allow master clones with clone pars to be externalized, Setup menu cleanup
- 4.5.17: Bug fixes, smaller minimized window footprint
- 4.5.2:
- Add tsv support
- Add Clone tag for shared external paths
- Handle drag and dropped COMP auto-populated externaltox pars
- Detect dirty COMP par changes
- 4.4.128: Add support for COMPs with empty/error prone clone expressions (such as rollovers in Probe)
- 4.4.127: Added textport warning for when timeline is paused
- 4.4.126: Clean up Save and dirtyHandler methods, auto set enableexternaltox par to ensure saves
- 4.4.125: Bug fix for handling empty externalTimeStamp value
- 4.4.124: More bug fixes with file handling
- 4.4.119: mouseinCHOP chopexecDAT optimization
- 4.4.117: Additional externalization folder removal bug fixes
- 4.4.116: UI color and icon refinement
- 4.4.113: externalization folder bug fixes
- 4.4.112: engine/annotateCOMP Tagger handling
- 4.4.111: Bug fix for Disable method
- 4.4.109: Correctly deletes previous externalization folder when changed
- 4.4.107: Multi-display support for Tagger, minor Windows fixes
- 4.4.104: Added TreeLister, improved Tagger stability, color theme updates
- 4.4.74:
- Added feature for externalizating full project automatically
- Support for handling deletion and re-creation (redo) of COMPs/DATs
- Support for renaming COMPs and DATs
- Support for moving COMPs/DATs
- Various small bug fixes and feature improvements
- 4.3.134: Adding missing reference to list COMP
- 4.3.133: Fixed externalizations folder button on macOS, fixed filter display, added clear button to filter UI
- 4.3.128: Fixed abs path bug, added support for macOS Finder and keyboard shortcuts
- 4.3.122: Separated logic/data for easier Embody updates, bug fix for checking for duplicate OPs
- 4.3.48: Handling for duplicate OP tox/file paths.
- 4.3.43: Switched to UTC, added Save/Table DAT buttons, refactored tagging, better externaltox handling.
- 4.2.101: Fixed keyboard shortcut bug, updated to TouchDesigner 2023.
- 4.2.98: Added handling for Cloners/Replicants.
- 4.2.0: UI fixes, path cleanup, folder switching fixes.
- 4.1.0: Improved file/folder management, bug fixes.
- 4.0.0: Added support for various file formats, parameter improvements.
- 3.0.5: Tweaked reset function.
- 3.0.4: Updated versioning system.
- 3.0.3: Updated to TouchDesigner 2022.
- 3.0.2: Added Manager UI, clarified commands, added deletion mechanisms.
- 3.0.1: Added keyboard shortcuts, minor bug fixes.
- 3.0.0: Initial release.