About 158,000 results
Open links in new tab
  1. hou. Node class - SideFX

    Return the node at the given path, or None if no such node exists. If you pass in a relative path (i.e. the path does not start with /), searches are performed relative to this node. For example, to get the parent node of a node in the variable n, use n.node(".."). To get a child node named geo5, use n.node("geo5").

  2. A Beginners Guide to Python - SideFX

    Mar 9, 2023 · This video tutorial series provides a comprehensive introduction to using Python in Houdini. The series covers the basics of Python programming language as well as its implementation in Houdini software.

  3. Houdini Python - Gamedev Guide - ikrima.dev

    Nov 18, 2021 · Traversing node hierarchy: hou.node() Return the node at the given path, or None if no such node exists; If you pass in a relative path (i.e. the path does not start with /), searches are performed relative to this node; Note that the return value …

  4. Python for artists · kiryha/Houdini Wiki - GitHub

    Aug 25, 2021 · To create a node in Houdini with Python use a createNode() command. To run this command successfully we need two main things: An argument , which will define the type of node which will be created. A parent object, where this node will be created: parentObject.createNode().

  5. Python Script - SideFX

    When using this approach you can either evaluate the selection rule on the input node, or directly on the Usd.Stage returned by pwd().editableStage(). If using the input node, evaluate the selection rule before getting this node’s editable stage …

  6. Python snippets · kiryha/Houdini Wiki - GitHub

    Oct 11, 2024 · Here you can find small code chunks to perform miscellaneous tasks in Houdini. You can explore the node parameters with Python Shel: Run Python Shell. Type node = , drag node to Shell (you will get hou.node('path/to/node')), press enter. from StringIO import StringIO ## for Python 2 except ImportError:

  7. Houdini Python: Finding all nodes of a specific type

    Feb 23, 2021 · We’ve seen how to ask for a specific node type from a node category. How do we access the full list of types? Well, the NodeTypeCategory class gives us the nodeTypes() method to do just that. It returns a dictionary. The dictionary keys are the node type names, and the values are the node type objects.

  8. Python in Houdini - Deborah R. Fowler

    Aug 4, 2024 · Creating nodes - these will work from a python shell script or in a python source window. Suppose you want to create some geometry, here is a quick example demonstrating some useful commands: n = hou.node( 'obj' ).createNode( 'geo ') mergethem = n.createNode('merge') aSphere = n.createNode('sphere')

  9. Python in houdini | Render Factory | learn basics python for houdini

    The node() method allows us to retrieve an instance of a node in the Houdini scene using its path. Then, the createNode() method will allow us to simply create the desired node at the path we obtained using node() just before.

  10. Create a python snippet container on Null or any node - Project: Julien

    Jul 4, 2018 · We will create a simple way of storing python code on a Null node and execute from that node then on any nodes.

Refresh