madebygeoff Posted June 27, 2022 Share Posted June 27, 2022 Anyone know how to add a joint selection action to a custom interface? I'd like to add something to an HDA I'm working on like what you see on the parent joints SOP for instance. You can click the selection arrow and fire the viewer state and select the joint(s) in the viewport and the string field will populate with the name attribute. I see that there's a script_action attached to the string field. When I copy it, I get: from kinefx.ui import rigtreeutils rigtreeutils.selectPointGroupParm(kwargs) But when I go to use it, I get a syntax error. Quote Link to comment Share on other sites More sharing options...
madebygeoff Posted June 30, 2022 Author Share Posted June 30, 2022 Stupid... I was pasting the script action into the "parameter" section of the edit parameters dialog, in the list of tags at the bottom. But it doesn't paste carriage returns when you do it that way, so the script was erroring out. All you have to do is paste the above into the "action button" tab, where it belongs. 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.