Inheritance |
|
See using a verb for more information.
Methods ¶
execute(inputs)
→ dict
Applies the verb using the provided dictionary of inputs.
The inputs can be keyed by the name of the input, or by the string
representing the 0-based index of the input. Each input type
must match the signature of the verb - if necessary the
signature
parameter can be provided to the parms.
Returns a dictionary of the computed layers and geometry for the outputs. The output dictionary is keyed both by the output name and by the 0-based output index as a string.
Note
Node defaults may change between versions.
Methods from hou.OpVerb ¶
loadParmsFromNode(sopnode)
Initializes all the parameters of this verb from the parameters of a specific hou.OpNode. Useful for cloning an existing node instance’s behavior.
loadParmsFromNodeAtTime(sopnode, time)
Initializes all the parameters of this verb from the parameters of a specific hou.OpNode at a given time. Useful for cloning an existing node instance’s behavior.
parms()
→ dictionary
Returns a dictionary of parameter name / value pairs currently set on this verb. This will be the complete list understood, including defaults. Multiparms are represented as a sub list of dictionaries.
This uses ParmTuple names, not channel names.
setParms(parmdictionary)
Updates a subset of parmeters on this verb with those specified in the dictionary. Exceptions are raised if attempts are made to set non-existent parameters or with incorrect types.
This uses ParmTuple names, not channel names. So for a transform
you would use xform.setParms({'t':(2,0,0)})
rather than tx
.
minNumInputs()
→ integer
Returns the minimum number of geometry inputs required for this verb to compute successfully.