See using a verb for more information.
Methods ¶
execute(destgeo, inputgeolist)
Applies the verb to the giving destination hou.Geometry. The input list is a list of hou.Geometry corresponding to the source node’s inputs. The parameters used in execution are whatever was set with the setParms or loadParmsFromNode functions. The parameters are initialized with the node defaults.
NOTE: Node defaults may change between versions.
executeAtTime(destgeo, inputgeolist, time, add_time_dep)
Applies the verb to the giving destination hou.Geometry at a given cooking time. The input list is a list of hou.Geometry corresponding to the source node’s inputs. The parameters used in execution are whatever was set with the setParms or loadParmsFromNode functions. The parameters are initialized with the node defaults.
NOTE: Node defaults may change between versions.
loadParmsFromNode(sopnode)
Initializes all the parameters of this verb from the parameters of a specific hou.SopNode. 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.SopNode 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.