How to create a toggle parameter to control visibility?

   6490   4   2
User Avatar
Member
55 posts
Joined: July 2011
Offline
Hi,

How do I create a toggle parameter in my digital asset to control visibility of a node please?

Thank you
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
In the parameter menu for the HDA interface there is a toggle parameter. which could be connected to a visibility sop
Gone fishing
User Avatar
Member
55 posts
Joined: July 2011
Offline
circusmonkey
which could be connected to a visibility sop
thank you, its the “could be connected” that I don't understand. How could it be?
I'm not a coder and have never used toggle parameter and cannot find a video tutorial.

Thank you.
Edited by Drakon - Feb. 7, 2017 15:54:36
User Avatar
Member
253 posts
Joined: July 2006
Offline
I think you're phrasing your question wrongly, because I can't think of a way nor a reason you'd want to toggle the visibility of a node.

Maybe you're looking for a switch node.
User Avatar
Member
66 posts
Joined: May 2019
Offline
@Drakon, here's what @circusmonkey approximately meant (or this is for future googlers):





So in my case, I've plugged a bookmark branch (on the left to the Merge) into a Merge SOP, and whenever the toggle is checked, it also goes into the Merge.
Edited by AnimGraphLab - May 19, 2023 09:44:03

Attachments:
houdini toggle hda.gif (1.4 MB)

Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
  • Quick Links