How to create a toggle parameter to control visibility?

   5899   4   2
User Avatar
Member
55 posts
Joined: 7月 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: 8月 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: 7月 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 - 2017年2月7日 15:54:36
User Avatar
Member
253 posts
Joined: 7月 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
52 posts
Joined: 5月 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 - 2023年5月19日 09:44:03

Attachments:
houdini toggle hda.gif (1.4 MB)

3D Generalist. Transforming 2D images to 3D animations.
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
  • Quick Links