Houdini 20.0 Nodes Geometry nodes

Python geometry node

Runs a Python snippet to modify the incoming geometry.

Since 13.0

This node is designed to modify the input geometry. If you just want to run a script whenever the network cooks, see the Script SOP.

This node lets you modify geometry in a network using a quick ad-hoc script. To create a new, reusable geometry node type using python, see creating a geometry SOP with Python.

See editing geometry using python for information on how to write the script.

Parameters

Python Code

Python code should modify the incoming geometry.

Maintain State

When enabled, the underlying Python interpreter will not be cleared between cooks. This may give some performance gains, but can also lead to unexpected behaviour. It is generally recommended to leave this disabled.

See also

Geometry nodes