Jump to content

Groupselection inside HDA


lRagnaroxl

Recommended Posts

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

Link to comment
Share on other sites

  • 9 months later...
  • 8 months later...

    """ 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 by martinkindl83
solution found
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...