Note
This function is for internal use by Houdini and isn’t usually necessary for scripting Houdini or creating tools.
vexContextForNodeTypeCategory(node_type_category)
→ hou.VexContext or None
>>> # Get a reference to a SOP node >>> n = hou.node("/obj/geo1/pointvop1") >>> # Get its type category (SOPs) >>> sops = n.type().category() >>> # If a SOP contains a VOP network, what is its context? >>> hou.vexContextForNodeTypeCategory(sops) <hou.VexContext Sop> >>> hou.vexContextForNodeTypeCategory(sops).name() 'Sop'
See hou.VexContext.
See also |