Component selection 'pre-filled' on SOP create ?

   806   1   0
User Avatar
Member
7 posts
Joined: 6月 2016
Offline
Hello Houdini Peeps

I created my own version of the 'color sop' for, ugh, science, which basically colors the icon and gives it the name of the color in the comment. It helps in my workflow and is just the color sop with python onChange.

However i have not been able to 'pre-fill' my group field which is the behavior expected when you drop the color node and have components selected in the viewport.

I have looked at the color sop but I can't find how it works. There is a
omsbind -t sop color:group uveditselect "Assign Colors" "Select the geometry to apply colors to and press Enter to complete" 0 1 all 0 grouptype 0
which i tried adding to my sop but it doesn't do anything. Same goes for 'viewer states', can't find anything in the color sop about that behavior.





Thanks for your help.
Edited by bernieberniebernie - 2021年5月24日 07:21:10
User Avatar
Member
7 posts
Joined: 6月 2016
Offline
It feels like a need to touch either osmbind [www.sidefx.com]or $HH/OPbindings


https://forums.odforce.net/topic/3919-using-groups/ [forums.odforce.net]

https://www.sidefx.com/forum/topic/12342/?page=1#post-58649 [www.sidefx.com]

But so far, no luck. Will answer my own post if I find a solution !
Edited by bernieberniebernie - 2021年5月25日 13:02:57
  • Quick Links