Panes Class

From TouchDesigner 099 Wiki

The Panes class describes the list of all pane objects. It can be accessed from ui.panes.

Members

current (Read Only) The currently selected pane.

Methods

createFloating(type=PaneType.NETWORKEDITOR, name=None)Pane

Return a floating pane.
Example
   p = ui.panes.createFloating(type=PaneType.NETWORKEDITOR, name="Output")
   p.owner = op('/project1/base1')

Special Functions

len(Panes)int

Returns the total number of panes.
   a = len(ui.panes)

[index]Pane

Get specific pane, referenced by string or index.
   p = ui.panes[0]
   p = ui.panes['pane1']

Iterator

Iterate over each pane.
   for m in ui.panes:
       # do something with m