Creating nodes with createNode() | Python for Houdini

preview_player
Показать описание
Every time we create a node in Houdini, what we actually do is create an instance of the «Node» class. One of the methods of this class is «createNode()», that we use to create new nodes.

But to create a node using Python, first we need to identify its «parent» node. For example: if I want to create a new «Geometry» node in the /obj/ context, the «parent» node will be «/obj».

🟠 Houdini 19 / Python 3

00:00 Intro
00:51 Identifying the parent node
02:18 Creating nodes with createNode()
Рекомендации по теме
Комментарии
Автор

Thank you, I needed a quick refresher on how to get going with creating nodes for a shelf tool I wanted to make. This was perfect.

KevRyanCG
Автор

How to create spring node(convert nodes to spring) to simulate nodes. Can't able to create code from attribute wrangle. Should I have to create from python shell, how should I do that

SwarnavoDe-yc
Автор

is there a way to create custom node tree presets using this method, for example, I have a node tree that takes some geometry and makes growths could I then package that up into a preset node ? or would I have to make it in python by copy and pasting the code into the file I need that tree in?

krisfarr