J D
JohnDoe777
About Me
EXPERTISE
VFX Artist
INDUSTRY
Film/TV
Connect
LOCATION
Canada
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Add a Custom button to the Scene Viewer Left Toolbar? Jan. 29, 2026, 5:09 a.m.
Hello,
Is there a way to add a custom button to the Scene Viewer left toolbar just above the Flipbook button. Is this exposed somewhere that could be edited and overridden in the user's Houdini folder?
Is there a way to add a custom button to the Scene Viewer left toolbar just above the Flipbook button. Is this exposed somewhere that could be edited and overridden in the user's Houdini folder?
python Toggle buttons visability June 30, 2025, 2:04 p.m.
First create a toggle parm and name it "button_toggle".
In the 2 buttons put in the "Hide When" section this
If this is a HDA:
In both button parms put this in the Callback Script(Set to Python)
Then go to the Scripts tab and add a Python Module and paste this.
If this is not a HDA or you want it to be less clean.
In both button parms put this in the Callback Script.
In the 2 buttons put in the "Hide When" section this
{ button_toggle == 0 }changing the 0 to a 1 in the second button parm. If this is a HDA:
In both button parms put this in the Callback Script(Set to Python)
hou.phm().toggle_button(kwargs)Then go to the Scripts tab and add a Python Module and paste this.
def toggle_button(kwargs): node = kwargs["node"] toggle = node.evalParm("button_toggle") node.parm("button_toggle").set(1-toggle)
If this is not a HDA or you want it to be less clean.
In both button parms put this in the Callback Script.
node = kwargs["node"]; toggle = node.evalParm("button_toggle"); node.parm("button_toggle").set(1-toggle)
python Toggle buttons visability June 29, 2025, 5:47 a.m.
You could use a hidden toggle parm in the "hide when" and then use a bit of python in the buttons callback to turn said toggle parm off and on.