Jump to content
Krion

Jump to (editable) network from HDA interface?

Recommended Posts

Hi guys,

 

You know, when I have a HDA that generates geometry I like to have an subnet SOP called 'edit geometry' at the end that I set as an 'editable node'. This way I can still add custom stuff inside the subnet and keep the hda locked. (Btw, I also like to drive a switch by a toggle on the hda interface called 'Enable Editing')

But sometimes these subnet-SOPs are very deep inside the hda and I keep on using time to navigate through the hda. Sometimes Quickmarks are a help to this, but my hope is there's a better way.

Maybe some way to have, next to the toggle 'Enable Editing', have some button or something that says 'Jump to Editable subnet'.

My guts tell me this is possible because you often see very 'ui network navigation' magic happen when using Houdini nodes. As for example the 'Solver SOP', or the 'SOP Create LOP', but is this also easily accessible to us the user?

 

Thanks for the help :-)

Share this post


Link to post
Share on other sites

hou.pwd().type().definition().sections()["EditableNodes"].contents()

Will give you the editable node(s) name/path you setup in hda creation.

Share this post


Link to post
Share on other sites
Posted (edited)

Alright that will give you what you typed in there, I see.

I now use an 'Operator Path' parameter to the editable node inside the hda to jump right into it from the parameters, like "./cop2net1/textureMix/make_mask/"
How do we make it that we jump into that node when we click a node of our hda type? Is that possible?

Edited by Krion

Share this post


Link to post
Share on other sites

Place the path to your desired node into Edit Operator Type Properties > Node > Dive Target.

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Awesome.


Now it doesn't feel like I'm doing something super secret and technical when I'm moving into an own tool,

Edited by Krion

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

×