hou.nodeType function
Returns a NodeType object given category and a name, such as Sop and “copy”. Returns None if the type does not exist.
See also: hou.nodeTypeCategories~
Usage
nodeType(category, name) → NodeType or None
Arguments
|
category |
A hou.NodeTypeCategory object (not a string). You can use the |
|
name |
The internal name of a node type. To get the internal name of any node type in Houdini, right-click a node of that type and choose Type properties. The internal name is listed at the top of the type properties window beside Operator type. For example, the internal name of the Geometry object is |
Examples
>>> hou.nodeType(hou.nodeTypeCategories()["Sop"], "copy") <hou.SopNodeType for Sop copy>