lRagnaroxl Posted April 23, 2019 Share Posted April 23, 2019 Hey there! Im developing some HDA´s for my Bachelor Project! My actual Problem is about the Action Button for a Prim Group Selection. Right now im running the standart Action Button script below: import soputils kwargs['geometrytype'] = (hou.geometryType.Primitives,) kwargs['inputindex'] = 0 soputils.selectGroupParm(kwargs) But, of course it does refer to the Node above the Subnet. My question is: How can i refer to the Node above the Selction Node inside the Subnet ? Is it a Python Callback Script or is it something below the Action Button ? Thank you very much Max Quote Link to comment Share on other sites More sharing options...
Zhaie Posted February 10, 2020 Share Posted February 10, 2020 Hi here ! I know it's a bit late,Did you find a Solution ? Quote Link to comment Share on other sites More sharing options...
martinkindl83 Posted November 3, 2020 Share Posted November 3, 2020 (edited) """ Performs a selection that is used to populate a SOP Group parameter field. This function takes a number of kwargs options to control the exact form of the returned selection, how the parameter should be set, the allowed selection types, etc. If kwargs['ordered'] is present, then that alone specifies whether to do an ordered selection. If kwargs['ordered'] is not present, then we try to determine orderedness from any selector bound to the node and parameter in question, and, failing that, default to an unordered selection. """ Edited November 3, 2020 by martinkindl83 solution found 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.