Source Ops Operator
The Source Ops LOP (formerly NetworkParser) analyzes and extracts information from TouchDesigner networks. It allows you to document operator relationships, parameter states, and connections, providing a structured DAT table representation of your network’s configuration. This output is suitable for indexing with the Rag Index LOP, enabling RAG workflows based on the structure and state of your TouchDesigner project.
Note: This operator processes the network directly and requires careful consideration of scope to manage performance.
Parameters
Section titled “Parameters”Parameters are organized into pages.
Root Component (Component)
op('source_ops').par.Component COMP - Default:
..
OP Find Filtering Header
Custom OP Find DAT (Opfind)
op('source_ops').par.Opfind DAT - Default:
None
Open OP Find Pars (Openfilter)
op('source_ops').par.Openfilter Pulse - Default:
None
Parse Selected Ops (Parseops)
op('source_ops').par.Parseops Pulse - Default:
None
Auto Parse on Change (Autoparse)
op('source_ops').par.Autoparse Toggle - Default:
Off
Clear Index (Clear)
op('source_ops').par.Clear Pulse - Default:
None
Include Parameters (Includeparameters)
op('source_ops').par.Includeparameters Toggle - Default:
Off
Include Expressions (Includeexpressions)
op('source_ops').par.Includeexpressions Toggle - Default:
Off
Include Bindings (Includebindings)
op('source_ops').par.Includebindings Toggle - Default:
Off
Include Connections (Includeconnections)
op('source_ops').par.Includeconnections Toggle - Default:
Off
Include Children Info (Includechildren)
op('source_ops').par.Includechildren Toggle - Default:
Off
Include Parent Info (Includeparent)
op('source_ops').par.Includeparent Toggle - Default:
Off
Include Docked Ops (Includedocked)
op('source_ops').par.Includedocked Toggle - Default:
Off
Show Built In Pars (Showbuiltin)
op('source_ops').par.Showbuiltin Toggle - Default:
Off
Popups (Popups)
op('source_ops').par.Popups Toggle - Default:
Off
Bypass (Bypass)
op('source_ops').par.Bypass Toggle - Default:
Off
Version (Version)
op('source_ops').par.Version String - Default:
None
Last Updated (Lastupdated)
op('source_ops').par.Lastupdated String - Default:
None
Creator (Creator)
op('source_ops').par.Creator String - Default:
None
Website (Website)
op('source_ops').par.Website String - Default:
None
ChatTD Operator (Chattd)
op('source_ops').par.Chattd OP - Default:
None
Callbacks
Section titled “Callbacks” Available Callbacks:
onParseStartonParseCompleteonOperatorParsedonError
Usage Examples
Section titled “Usage Examples”Parsing All Operators in a Component
Section titled “Parsing All Operators in a Component”1. Set 'Root Component' to the desired container COMP (e.g., `/project1/myNetwork`).2. Leave 'Custom OP Find DAT' blank to use default (find all).3. Configure Detail Level parameters as needed.4. Pulse 'Parse Selected Ops'.5. Results appear in the output `index_table` DAT.Parsing Only Specific Operator Types
Section titled “Parsing Only Specific Operator Types”1. Set 'Root Component'.2. Pulse 'Open OP Find Pars'.3. In the OP Find DAT parameters, set the 'Operator Type' filter (e.g., `base` for Base COMPs).4. Close the OP Find parameters.5. Pulse 'Parse Selected Ops'.Excluding Built-in Parameters
Section titled “Excluding Built-in Parameters”1. Set 'Root Component' and OP Find rules.2. Ensure 'Include Parameters' is On.3. Set 'Parameter Types' to `custom` or `modified`.4. Pulse 'Parse Selected Ops'.Technical Notes
Section titled “Technical Notes”- Parsing occurs synchronously on the main TouchDesigner thread. Parsing very large or complex networks can cause noticeable pauses. Use OP Find filtering to limit the scope.
- The output
contentcolumn contains a detailed JSON representation of the operator’s state based on the selected Detail Level parameters. - The
metadatacolumn provides a simplified summary. - The output
index_tableis formatted for direct use with the Rag Index LOP.