Create container COMP
create_containerCreate an empty Container or Base COMP in a parent's network grid for building visual systems. Returns the new node's path, type, and name for further editing.
Instructions
Create one empty COMP under parent_path to hold a visual system, then tile it into the parent's network grid clear of existing siblings. comp_type picks a Container COMP (a 2D panel) or a generic Base COMP. Returns the created node's path, type, and name. Use a higher-level Layer 1 tool instead when you want a fully built, wired network rather than an empty shell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_path | No | Parent COMP to create the container in. | /project1 |
| name | No | Name for the new COMP; TouchDesigner auto-generates one when omitted. | |
| comp_type | No | 'container' (2D panel COMP) or 'base' (generic COMP). | container |