Jump to content
Sign in to follow this  
newbee

geometry node in python

Recommended Posts

kind of a basic question..

how to create a geometry node in scene context in python

I know i can create a sphere inside a geometry node using

x=hou.node(“/obj/box”)

y=x.createNode(“box”,”mybox”)

 

but how do i create a geometry node?

 

Edited by newbee

Share this post


Link to post
Share on other sites

createNode takes the name of the node type, so for a geometry node it takes 'geo'.  The name of node (compared to it's label) can be found by middle mouse clicking on a node instance, it's the name after the label,, in parenthesis.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×