Jump to content

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

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...