Handle visibility /promoting the parameters of a group node

   1549   2   0
User Avatar
Member
136 posts
Joined: 8月 2015
Offline
Hi,

I have two questions:

I'm building an HDA and so far have found how to set the visibility of my handle, an imported handle of an add node with one point.
I can set the visibility whenever the handles are visible, which they are not when you are in geometry select mode, which means it's possible for a user to go in geo select mode ( handles not visible/accessible), change a setting in the hda and come back out of geo select mode but with my code not having edited the visibility of the handle.

Is there a way around this ?

Secondly, importing a group node, by drag and dropping the node into the operator type properties works fine but only for one group node. There seems to be some magic going on, because the group type automatically switches to the right type. I can replicate this behaviour by importing it as I said, but a second group node doesn't do that. Any thoughts on that ?

Thank you !

Wout
User Avatar
Member
136 posts
Joined: 8月 2015
Offline
Tried and tested solutions :

1) Viewer states for handles
2) The imported parameters' name change when they already exist so you have to make the same name changes in the python code.
User Avatar
スタッフ
398 posts
Joined: 2月 2018
Offline
Are you still having problems showing handles bound to your viewer state ?
Edited by mabelzile - 2020年8月25日 08:59:57
  • Quick Links