Luijee Posted December 3, 2017 Share Posted December 3, 2017 Hello, Is it possible to promote a ramp parameter (retaining channel links) via python (or even hscript)? Quote Link to comment Share on other sites More sharing options...
f1480187 Posted December 4, 2017 Share Posted December 4, 2017 Open Operator Type Properties window, then select Export Parameter to Type Properties in ramp's parameter context menu. Is it what you are looking for? Quote Link to comment Share on other sites More sharing options...
Luijee Posted December 4, 2017 Author Share Posted December 4, 2017 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. 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.