Jump to content

Promote Ramp parameter via python


Luijee

Recommended Posts

Sorry I don't follow what you're suggesting but I don't think it would be that.

I'm looking for an automated way to promote a node's parameters to another. Currently the only way I know how to do this successfully for ramp parameters (or any multi-parm parameter) is through the UI with these steps:

- select a given parameter to promote from a node's parameter dialog window

- drag selected parameter into a different node's parameter interface window

- the different node will now have a copy of the selected parameter, with channel references to the original parameter that will update when you add new control points to the ramp.

 

I would like to achieve the same with a script. Currently for other parameters I can setup a channel reference simply by doing hou.parm.set( [hou.parm object of parameter I want to link to] ) but this fails for ramp parameters.

 

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...