The NetworkEditor class describes an instance of a Network Editor. They are subclasses of the Pane Class, which can be accessed from the ui object.
Enable or disable CHOP viewers as backdrops.
Enable or disable SOP and Geometry object viewers as backdrops.
Enable or disable TOP viewers as backdrops.
Enable or disable display of the operator color palette selector.
Enable or disable disable of operator data links.
Control display of operators as a list, or connected nodes.
Enable or disable display of the network overview.
Enable or disable display of the currently selected operator parameters.
Control display of operator links as straight or curved.
Get or set the x coordinate of the network editor area, where 1 unit = 1 pixel when zoom = 1.
Get or set the y coordinate of the network editor area, where 1 unit = 1 pixel when zoom = 1.
Get or set the zoom factor of the network editor area, where a zoom factor of 1 draws each node at its unscaled resolution.
Fit the network area to specified height, specified in node units. This affects the zoom factor.
- height - The height to fit to.
Home all operators in the network.
- zoom - (Keyword, Optional) When true, the view will be scaled accordingly, otherwise the nodes will only be re-centered.
- op - (Keyword, Optional) If an operator is specified, the network will be homed around its location.p = ui.panes['pane1'] n = op('/project1') p.home(op=n) p = ui.panes p.home(zoom=True)
Fit the network area to specified width, specified in node units. This affects the zoom factor.
- width - The width to fit to.
Home all selected operators in the network.
Get or set the component this pane points to.
int (Read Only):
A unique numeric identifier.
Get or set the numeric link index.
Get or set mouse and keyboard interactivity on the pane.
Enable or disable the pane maximize state.
Get or set the pane name.
Get or set the split proportion of the pane, if the pane was previously split.
tuple(x,y,u,v) (Read Only):
The coordinates of the bottom left corner, expressed in both pixels and uv offsets, in a named tuple.
tuple(x,y,u,v) (Read Only):
The coordinates of the top right corner, expressed in both pixels and uv offsets, in a named tuple.
PaneType (Read Only):
The enumerated type of the pane. Example: NetworkEditor.
The enumeration is called PaneType and consists of:
Change the pane to the specified type. Will return a new Pane object that represents the Pane. After being called, the current Pane instance will no longer be valid.
- paneType - The type of pane to change this pane to.p = ui.panes p = p.changeType(PaneType.TOPVIEWER) # note: must re-assign p to new object.
Close the pane.
Return a floating copy of the pane.
Split the bottom portion of the pane into a new pane.
Split the left portion of the pane into a new pane.
Split the right portion of the pane into a new pane.
Split the top portion of the pane into a new pane.
Detach the pane into a floating window. Returns True if successful.
A pane type where networks of operators can be created and edited.
An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.
An Operator Family that creates, composites and modifies images, and reads/writes images and movies to/from files and the network. TOPs run on the graphics card's GPU.
A work area in TouchDesigner's layout that includes the Network Editor and 7 other pane types used for different tasks. The TouchDesigner interface can consist of a single pane, or be split into multiple panes.