Search - User list
Full Version: Create nodes into plural node.children with Python.
Root » Houdini Learning Materials » Create nodes into plural node.children with Python.
auratuslemma
I consider getting plural subnets directly with hou.selectedNode() and intended to look up the plural their children simultaneously as creating NetworkBox and new Nodes like Box …but seems I've got wrong idea.

Anybody's got ideas?
Thank you.
auratuslemma
I was trying to use functions like:


ssubnet = hou.selectedNode()
for node in ssubnet:
ngeo = hou.node(ssubnet).createNode(“geo”)


but the variables can't apply the directly by node() method(because the variable defined as tuple type?)
auratuslemma
Have solved the problem by just easy way

snode = hou.selectedNode()
for node in snode:
node.createNode(“null”)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB