jim c Posted May 4, 2013 Share Posted May 4, 2013 I saw this link today: http://www.animschoolblog.com/2013/04/animschool-picker-released.html and wondered how I might add something like this to my DA character. I've already got control nulls in place for the various bones and IK controllers. And I've got these exporting the relevant params to the DA, so when you select one of the controllers you get the appropriate handle, and so forth. I started experimenting with a an object (the gui element) that when selected performs a selection script and selects another object (the controller null). I can get this to work, but what happens is that it selects the right node, but then it moves you into the DA, as opposed to staying put and just displaying the translator handle. So there's something I'm not understanding here, but I'm not sure what all is going on. Quote Link to comment Share on other sites More sharing options...
jim c Posted May 7, 2013 Author Share Posted May 7, 2013 Here's a simple example of what I'm talking about: Here's hte scene I want to select the shape in the "gui" and have that immediately select the correct controller in the rig which I can then manipulate and rotate (or translate or whatever) And have this all wrapped up in the DA. Then to view the GUI, I figured that you could open up another floating pane, set it to a Scene View, and an ortho view that's centered on the GUI shapes. Does that make any sense? anim-gui.hipnc myanimobj.otl Quote Link to comment Share on other sites More sharing options...
edward Posted May 8, 2013 Share Posted May 8, 2013 Sorry, no time to look at your file, but make sure that when you call hou.Node.setSelected(), pass in show_asset_if_selected=True. Another interesting thing to look at is the Pose Library that kinda went MIA http://www.sidefx.com/docs/houdini9.5/shelf/poselibrary pose library Quote Link to comment Share on other sites More sharing options...
jim c Posted June 4, 2013 Author Share Posted June 4, 2013 Edward, thanks for the suggestion, I had a chance to get back to this, this time just using plain old buttons in the Parameter intereface. I can select an object by using ctrl = hou.node(.....) ctrl.setSelected() but it always takes you into the asset, regardless of whether show_asset_if_selected is true or false. Is there an alternate way of selecting the ctrls without being taken into the DA? It does this even if the asset is locked. 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.