Jump to content
Jesper Rahlff

overwrite default state based on parameter on HDA

Recommended Posts

Hey Peeps.

Not sure which category this questions belongs to so I threw it into the general question forum.

I am currently building an HDA with one of the functions of this HDA is to draw curves. In order for me to be able to draw the curve on the top level of the HDA with the drawcurve tool I have to set the default state of the HDA to 'Stroke'. This is all working fine. My issue is now that because the HDA is holding more than one "Mode" I only want the default state to be 'Stroke' when the mode is set to utilize the draw curve function.

In other words, I only want the interactive draw tool in the viewport to be active when a certain parameter is active.

I hope I explained this well enough, if not let me know and I will try to be more visual with a simple example file (at work currently so cannot share anyting).

 

Thank you in advance.

 

Cheers

Share this post


Link to post
Share on other sites

maybe a simple mockup HDA would help break the ice...

Share this post


Link to post
Share on other sites

here is a screenshot. I created an empty subnet, converted it to an HDA. The parameter on the HDA which is circled red here is the one I want to override.
This parameter is available on an HDA by default. its not related to anything going on inside the subnet

 

SS.thumb.png.b4cc4143d433d88f38dd7549722d5303.png

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

×