Vitor Hugo

vtrvtr

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Call Sync Asset from Houdini Aug. 31, 2017, 1:31 p.m.

I see. Thank you.

Call Sync Asset from Houdini Aug. 30, 2017, 10:24 p.m.

Hi.

I have a problem with the Maya interface. I want to hide a parameter when the user clicks a button. In Houdini it works fine, but in Maya if I click the button nothing happens, only when I sync the asset the parameter is hidden.

So, is there a way to call sync asset from the function in the hda?

Just for test I'm using this code to hide/unhide the parameter:



def test():
    node = hou.node("..")
    parm = hou.parm("../TestParm")
    if parm.isHidden():
        parm.hide(0)
    else:
        parm.hide(1)