Source Ops Operator
Overview
Section titled “Overview”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:
None
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:
On
Include Expressions (Includeexpressions)
op('source_ops').par.Includeexpressions
Toggle - Default:
On
Include Bindings (Includebindings)
op('source_ops').par.Includebindings
Toggle - Default:
On
Include Connections (Includeconnections)
op('source_ops').par.Includeconnections
Toggle - Default:
On
Include Children Info (Includechildren)
op('source_ops').par.Includechildren
Toggle - Default:
On
Include Parent Info (Includeparent)
op('source_ops').par.Includeparent
Toggle - Default:
On
Include Docked Ops (Includedocked)
op('source_ops').par.Includedocked
Toggle - Default:
On
ChatTD (Chattd)
op('source_ops').par.Chattd
OP - Default:
/dot_lops/ChatTD
Helper Popups (Popups)
op('source_ops').par.Popups
Toggle - Default:
On
Show Built In Pars (Showbuiltin)
op('source_ops').par.Showbuiltin
Toggle - Default:
Off
Bypass (Bypass)
op('source_ops').par.Bypass
Toggle - Default:
Off
Callbacks
Section titled “Callbacks” Available Callbacks:
onParseStart
onParseComplete
onOperatorParsed
onError
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
content
column contains a detailed JSON representation of the operator’s state based on the selected Detail Level parameters. - The
metadata
column provides a simplified summary. - The output
index_table
is formatted for direct use with the Rag Index LOP.