Close

COMP Drag Page

Parameters - Drag/Drop Page

Please refer to Drag-and-Drop for a full explanation on how Drag and Drop between Panel Components functions.

When Dragging This drag - - Specify if this Panel Component can be dragged.
  • Use Parent's Drag Settings dragparent - Follow the parent Panel Components Drag setting.
  • Legacy Drag System legacy - Allow Dragging for this Panel Component. Use the Paramters Drag Script, Drop Destination Script and Dropped Operator to control the behaviour. 'Use Drag/Drop Callbacks' is a more powerful updated workflow.
  • Do Not Allow Drag dragno - Disallows Dragging for this Panel Component.
  • Use Drag/Drop Callbacks usecallbacks - Specify the behavior exactly with custom scripts specified below.

Drag Script dragscript - Specify a script that will be executed when starting to drag a Panel Component. Please refer to the Drag Script section of the Drag and Drop page.

Drop Types droptypescript - If a drop destination script is specified, you can also add a DAT table with a list of return types that the drop destination script will provide. Return types can be one of the op types (COMP,TOP,CHOP,SOP,MAT,DAT), channel, or supported filetypes. Please refer to the Drop Types section of the Drag and Drop page.

Drop Destination Script dropdestscript - Specify a script that will be executed when the dragged Panel Component is dropped. A temporary network is created and the component (or the alternative operator specified in Dropped Component) is copied to this network. You can add or modify operators in this network. Please refer to the Drop Destination Script section of the Drag and Drop page.

Dropped Operator paneldragop - The Dropped Component parameter is the easiest way to specify an alternative operator to drop. Note that this alternative operator must exist, otherwise the component itself will be dropped. The alternative is only used when dropping onto a network or control panel. Text pasted via dragging and dropping, or files saved via dropping onto the desktop, will still use the original.

On Dropping Into drop - - Specify if this Panel Component accepts items that are dropped onto it.
  • Use Parent's Drop Settings dropparent - Follow the parent Panel Components Drop setting.
  • Legacy Drop System legacy - Allow Dropping onto this Panel Component. Use the Paramter Drop Script to control the behaviour. 'Use Drag/Drop Callbacks' is a more powerful updated workflow.
  • Do Not Allow Drop dropno - Disallows Dropping onto this Panel Component.
  • Use Drag/Drop Callbacks usecallbacks - Specify the behavior exactly with custom scripts specified below.
  • Fill Custom Parameter fillparm - Avoid any scripting and just fill in the custom parameter with the path to the dropped node.

Built-In Drop Options builtindrop - Normally, when dropping over a node, if the viewer is not active, built-in drop options are provided, otherwise custom defined drop options are provided. When this option is off, custom defined drop options are used exclusively in both cases.

Drop Script dropscript - A component's Drop Script is run when you drop another component or an external file into that component. Please refer to the Drop Scripts - Text section of the Drag and Drop page.

Alternatively specify a Table DAT in the drop script field. TouchDesigner will automatically look for 2 columns in the table. The first column should indicate the data type and the second should indicate the Text DAT that holds the script to process that data type. Please refer to the Drop Script - Tables section of the Drag and Drop page.

Drop Parameter dropparm - When 'On Dropping Into' is set to Fill Custom Parameter this specifies which parameter to fill. This option together with turning off 'Built-In Drop Options' allows quickly dropping any node onto this viewer and filling a custom parameter with that dropped path.

Drag/Drop Callbacks dragdropcallbacks - Specify which DAT holds the custom drag/drop scripts. If blank, press 'Add' to create a DAT with default scripts.