pelos Posted November 23, 2021 Share Posted November 23, 2021 i am creating a attribute wrangler and will create 2 params, from the UI i can click that little icon and will create it for me, super easy. I did try to to grab the param and press "push button" h=hou.node('/obj/box1_Grooming/pointwrangle_width') ex=h.parm("exportlist") hou.Parm exportlist in /obj/box1_Grooming/pointwrangle_width> ex.pressButton() but nothing happen =( i inspect the button via "edit parameter interface" to see if there was a code or a callback attach to it,but didnt find anything... =( how could i create those params? Quote Link to comment Share on other sites More sharing options...
dleonhardt Posted November 24, 2021 Share Posted November 24, 2021 That button is running this Python script import vexpressionmenu node = kwargs['node'] parmname = 'snippet' vexpressionmenu.createSpareParmsFromChCalls(node, parmname) Quote Link to comment Share on other sites More sharing options...
pelos Posted November 24, 2021 Author Share Posted November 24, 2021 (edited) just needed to change the node and vuala! super thanks! Edited November 24, 2021 by pelos 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.