Jump to content
Sign in to follow this  

Select node with Python

Recommended Posts


I am trying to select a node with a button in a HDA, but when I do select it, the object level switches to geometry level, how can I prevent that?

I would like to select a drawcurve with an enter included, so when I press the button I will have the cursor switch to the red sphere icon to start drawing.

any ideas would be highly appreciated it.



Share this post

Link to post
Share on other sites

You can set handles and the default state of your hda inside the type properties. So I would not try and select the node inside the hda at all, but rather promote the parameters and set the default state to stroke. Also take a look at the drawCurves SOP which is nothing else than just a HDA built around the stroke SOP.

There has already been a nice explanation of this here: 

I hope this helps if you haven't found a solution by now anyway.

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