Inheritance |
|
Methods ¶
__getitem__(port_name)
→ pdg.Port
Returns the port for the given name.
default(parameter_name)
→ int
, float
or str
Returns the default value for the specified parameter.
input(input_number)
→ pdg.Port
Returns the input port for the given input number.
input(input_name)
→ pdg.Port
Returns the input port for the given input name.
inputsForNode(other_node)
→ list
of pdg.Port
Returns the port(s) on this node that are connected to the given node, or the empty list if there are no connections.
inputsForWorkItem(work_item)
→ list
of pdg.Port
Returns the port(s) on this node that are connected to the node that owns the specified work tiem, or the empty list if there are no connections.
isItemFromPort(work_item, port_name)
→ bool
Returns True
if the work item was passed as an input from the input
port with the specified port_name
. Returns False
otherwise.
output(output_number)
→ pdg.Port
Returns the output port for the given output number.
output(output_name)
→ pdg.Port
Returns the output port for the given output name.
parameter(parameter_name)
→ pdg.Port
Returns the parameter port for the given name.
parametersForTag(tag)
→ list
of pdg.Port
Returns the list of parameters with the specified tag.
port(port_type, number)
→ pdg.Port
Returns the port for the specified pdg.portType and port number.
port(port_type, name)
→ pdg.Port
Returns the port for the specified pdg.portType and port name.
port(name)
→ pdg.Port
Returns the port for the specified name.
portCount()
→ int
Returns the number of points on the interface.
ports(port_type)
→ list
of pdg.Port
Returns the list of ports of the specified pdg.portType.
value(parameter_name)
→ int
, float
or str
Returns the constant value for the specified parameter.
topNode()
: hou.TopNode
Returns the hou.TopNode associated with this PDG node.
attributeInfo
: pdg.AttributeInfo
Property
Returns the attribute info object for this PDG node.
scriptInfo
: pdg.JobScriptInfo
Property
Returns information about the job script used by this PDG node.
topNodeId
: int
Property
The unique session ID of the hou.TopNode associated with this PDG node.