Jump to content
Sign in to follow this  
sirogi

custom handles

Recommended Posts

Hi there!

I was just modelling using the Copy SOP, nothing fancy just a circular array, and found myself going back to the parameters tab, and moving the pivot in xyz, with the number ladder!...old houdini-style!! grr....

I remember seeing in a demo last siggraph (or was it last night in my dreams....) that you can bind a handle to any parameter in a SOP, I just wanted to slap a translate handle on the pivot if possible...any ideas?

cheers...

Share this post


Link to post
Share on other sites

---- begin script ----

ombind -t sop "Copy Pivot" copy:px xform:tx

ombind -t sop "Copy Pivot" copy:py xform:ty

ombind -t sop "Copy Pivot" copy:pz xform:tz

--- end script ---

have fun,

dante

Share this post


Link to post
Share on other sites

:o he he he he....thanks..... :)

I'm not gonna complain about not having a GUI way of doing this, since it seems like you'd have a lot of instances where it could be useful.....

Share this post


Link to post
Share on other sites

i think that was what they wanted to do (a GUI handle binder) but ran out of time. i wouldn't be surprised if we see this in 6.0

the grand tapir.

Share this post


Link to post
Share on other sites

Hey

You can add handles and link them to parameters using hscript. 
What I did was use Python and from there call hscript to create handles, Unfortunately at this point in time i don't have any example code or files.

Have a look at http://www.sidefx.com/docs/houdini/commands/pomadd

But i do remember having difficulties deleting the handles afterwards, and having memory leaks.

It's not much but hope it helps.

Share this post


Link to post
Share on other sites

Hallo Konstantin

I finally had time to go trough my old work and find an example file.
It takes a curve or line and creates transform handles for each point. The handles are then linked to parameters. From the parameters they could be linked back to attribute data.

I't might be possible to directly attach handles to attribute data but i'm not sure about that.

Hope this helps you on your way.

custom handles.hipnc

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×