sirogi Posted July 18, 2002 Share Posted July 18, 2002 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... Quote Link to comment Share on other sites More sharing options...
danteA Posted July 18, 2002 Share Posted July 18, 2002 ---- 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 Quote Link to comment Share on other sites More sharing options...
sirogi Posted July 18, 2002 Author Share Posted July 18, 2002 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..... Quote Link to comment Share on other sites More sharing options...
Jason Posted July 18, 2002 Share Posted July 18, 2002 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. Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted November 30, 2016 Share Posted November 30, 2016 How can i procedurally attach handles to geometry that move corner points (turquoise) change extrusion heights (pink)? city_handles.hipnc Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted February 10, 2017 Share Posted February 10, 2017 Can anyone help me on the post right above? ^^^ Maybe a python solution? Quote Link to comment Share on other sites More sharing options...
Maurits Posted February 10, 2017 Share Posted February 10, 2017 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. Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted February 26, 2017 Share Posted February 26, 2017 On 10.2.2017 at 9:14 PM, Maurits said: Have a look at http://www.sidefx.com/docs/houdini/commands/pomadd Hi Maurits, yes, I have seen that, but I would not know how to make use of this. Quote Link to comment Share on other sites More sharing options...
Maurits Posted March 2, 2017 Share Posted March 2, 2017 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 3 Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted March 2, 2017 Share Posted March 2, 2017 Thank you! I will definitely go through this! Quote Link to comment Share on other sites More sharing options...
anthonyblanchettepotvin Posted November 13, 2018 Share Posted November 13, 2018 Hi @Maurits, Are you able to explain me a bit what the code does ? I have a decent background in programming, but with the lack of comments, I don't really know what variables like cpn, cpo, cn and co does. I would like to learn how to create custom handles like you did. So, I'm trying to understand what you did. It would be very appreciated. Thank you ! Quote Link to comment Share on other sites More sharing options...
Maurits Posted December 13, 2018 Share Posted December 13, 2018 Hi anthonyblanchettepotvin Sorry for the really late response. From what i can getter from the code and looking at the nodes. cpn == Parm name of the parm containg the base positions of the custom parms. cpo == the Parm expresion for cpn cn == Parm name of the parm containing the offset position relative to the value contained in cpn co == The parm expresion for cn These variables in the first python node mainly help setup the location and exprespion scripts used to control the location of each extra handle. Hope it might still be of some use. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.