Kubaki

Kubaki

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Binding and Unbinding Handles on Digital Assets May 27, 2018, 6:18 a.m.

Hey guys,

I really need some help. On my asset I have a checkbox parameter and a transform handle. What I need to do is, whenever the checkbox is toggled, get the state of the checkbox and if the checkbox is checked, then bind the “tx” field on the handle to my posx parameter, and if it is unchecked, unbind “tx”. So my pseudo code is looking like…

whenever checkbox changes state
cbState = state of checkbox
if(cbState){
bind mainHandle:tx to posx parameter
}else{
unbind mainHandle:tx
}

From what I've found so far the only way to achieve this is to write script in HScript (because apparently Python can't bind handles yet) in the “scripts” section of operator type properties. I'm quite comfortable with VEX but I have no experience with HScript and so far everything I've tried to do in HScript has failed miserably (I can't even get a simple echo command to work). Is anyone able to provide me with some example code or a tutorial or something that would show me how to achieve this? I've been digging through the documentation trying to learn but I just keep hitting walls.

PS. This is a cross post from the ODForce forums. Really desperate for help!

Handles in HDA's - how to toggle them on and off May 25, 2018, 7:29 a.m.

Hey mate, did you end up figuring this one out? I'm having a similar issue here

Houdini Randomly Locking Up April 9, 2018, 9:13 a.m.

Hey Mate,
So after a bit more searching I figured out that Malwarebytes had something to do with it. Not sure why though. Anyways I managed to fix it by switching over to Local Licencing Mode (which is what SideFX recommended). Not 100% sure if it'll fix it for you but worth giving it a shot www.sidefx.com/faq/apprentice-local-licensing/#faq74