J D

JohnDoe777

About Me

専門知識
VFX Artist
業界:
Film/TV

Connect

LOCATION
Canada
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Add a Custom button to the Scene Viewer Left Toolbar? 2026年1月29日5:09

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?

python Toggle buttons visability 2025年6月30日14:04

First create a toggle parm and name it "button_toggle".

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 2025年6月29日5:47

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.