Class of node
|
Class(self)
Returns:
Class of node. |
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
None
|
addKnob(self,
k)
Add knob k to this node or panel. |
|
|
list
|
allKnobs(self)
Get a list of all knobs in this node, including nameless knobs. |
|
|
None
|
autoplace(self)
Automatically place nodes, so they do not overlap. |
|
|
List of x, y, w, h
|
bbox(self)
Bounding box of the node. |
|
|
bool
|
canSetInput(self,
i,
node)
Check whether the output of 'node' can be connected to input i. |
|
|
String list
|
channels(self)
List channels output by this node. |
|
|
Number of clones
|
clones(self)
Returns:
Number of clones. |
|
|
bool
|
connectInput(self,
i,
node)
Connect the output of 'node' to the i'th input or the next available
unconnected input. |
|
|
Floating point value
|
deepSample(self,
c,
x,
y,
n)
Return pixel values from a deep image. |
|
|
Integer value
|
deepSampleCount(self,
x,
y)
Return number of samples for a pixel on a deep image. |
|
|
List of nodes
|
dependencies(self,
what)
List all nodes referred to by this node. |
|
|
List of nodes
|
dependent(self,
what,
forceEvaluate)
List all nodes that read information from this node. |
|
|
bool
|
error()
True if the node or any in its input tree have an error, or False
otherwise. |
|
|
List of nodes and filenames
|
|
int
|
firstFrame(self)
First frame in frame range for this node. |
|
|
None
|
forceValidate(self)
Force the node to validate itself, updating its hash. |
|
|
Format
|
format(self)
Format of the node. |
|
|
FrameRange
|
|
str
|
fullName(self)
Get the name of this node and any groups enclosing it in
'group.group.name' form. |
|
|
The number of knobs
|
|
bool
|
hasError()
True if the node itself has an error, regardless of the state of the
ops in its input tree, or False otherwise. |
|
|
int
|
height(self)
Height of the node. |
|
|
str
|
help(self)
Returns:
Help for the node. |
|
|
None
|
|
The i'th input
|
input(self,
i)
Returns:
The i'th input. |
|
|
Gets the maximum number of connected inputs
|
inputs(self)
Returns:
Number of the highest connected input + 1. |
|
|
bool
|
isSelected(self)
Returns the current selection state of the node. |
|
|
The knob named p or the pth knob
|
knob(self,
p)
Returns:
The knob named p or the pth knob. |
|
|
dict
|
knobs(self)
Get a dictionary of (name, knob) pairs for all knobs in this node. |
|
|
int
|
lastFrame(self)
Last frame in frame range for this node. |
|
|
List
|
linkableKnobs(self,
knobType)
Returns a list of any knobs that may be linked to from the node as
well as some meta information about the knob. |
|
|
Maximum number of inputs this node can have
|
maxInputs(self)
Returns:
Maximum number of inputs this node can have. |
|
|
Maximum number of outputs this node can have
|
maxOutputs(self)
Returns:
Maximum number of outputs this node can have. |
|
|
Maximum number of inputs this node can have
|
maximumInputs(self)
Returns:
Maximum number of inputs this node can have. |
|
|
Maximum number of outputs this node can have
|
maximumOutputs(self)
Returns:
Maximum number of outputs this node can have. |
|
|
value or dict
|
metadata(self,
key,
time,
view)
Return the metadata item for key on this node at current output
context, or at optional time and view. |
|
|
Minimum number of inputs this node can have
|
minInputs(self)
Returns:
Minimum number of inputs this node can have. |
|
|
Minimum number of inputs this node can have
|
minimumInputs(self)
Returns:
Minimum number of inputs this node can have. |
|
|
str
|
name(self)
Returns:
Name of node. |
|
|
The number of knobs
|
numKnobs(self)
Returns:
The number of knobs. |
|
|
list of int
|
opHashes(self)
Returns a list of hash values, one for each op in this node. |
|
|
Number of first optional input
|
|
Returns performance information for this node
|
|
int
|
|
bool
|
proxy(self)
Returns:
True if proxy is enabled, False otherwise. |
|
|
None
|
readKnobs(self,
s)
Read the knobs from a string (TCL syntax). |
|
|
None
|
redraw(self)
Force a redraw of the node. |
|
|
None
|
removeKnob(self,
k)
Remove knob k from this node or panel. |
|
|
None
|
resetKnobsToDefault(self)
Reset all the knobs to their default values. |
|
|
Node rendering when paralled threads are running or None
|
|
Floating point value
|
sample(self,
c,
x,
y,
dx,
dy)
Return pixel values from an image. |
|
|
int
|
screenHeight(self)
Height of the node when displayed on screen in the DAG, at 1:1 zoom,
in pixels. |
|
|
int
|
screenWidth(self)
Width of the node when displayed on screen in the DAG, at 1:1 zoom,
in pixels. |
|
|
None
|
selectOnly(self)
Set this node to be the only selection, as if it had been clicked in
the DAG. |
|
|
bool
|
setInput(self,
i,
node)
Connect input i to node if canSetInput() returns true. |
|
|
None
|
setName(self,
name,
uncollide=True,
updateExpressions=False)
Set name of the node and resolve name collisions if optional named
argument 'uncollide' is True. |
|
|
None
|
setSelected(self,
selected)
Set the selection state of the node. |
|
|
None
|
setTab(self,
tabIndex)
Returns:
None |
|
|
None
|
setXYpos(self,
x,
y)
Set the (x, y) position of node in node graph. |
|
|
None
|
setXpos(self,
x)
Set the x position of node in node graph. |
|
|
None
|
setYpos(self,
y)
Set the y position of node in node graph. |
|
|
None
|
|
None
|
showInfo(self,
s)
Creates a dialog box showing the result of script s. |
|
|
true if the properties panel is open
|
shown(self)
This can be used to skip updates that are not visible to the user. |
|
|
bool
|
treeHasError()
True if the node or any in its input tree have an error, or False
otherwise. |
|
|
FrameRange
|
|
int
|
width(self)
Width of the node. |
|
|
String in .nk form
|
|
X position of node in node graph
|
xpos(self)
Returns:
X position of node in node graph. |
|
|
Y position of node in node graph
|
ypos(self)
Returns:
Y position of node in node graph. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|