zrags Posted October 9, 2019 Share Posted October 9, 2019 I'm trying to create and customize a node through a python script. I'm adding parms using the hou.parmTemplate() class and for one of the parameters I need to edit the Channel tab (see below). I can't seem to find anything in the python documentation on how to do this; anybody know what the best solution would be? Thanks! Quote Link to comment Share on other sites More sharing options...
LucaScheller Posted October 10, 2019 Share Posted October 10, 2019 Hi, if you set the parm expression to link to the parm of your liking, then Houdini should add the linking automatically. (Make sure to refresh/reopen the Edit Parm Window after executing this to see the new linked channels in the Channel tab.) hou.node("/obj/geo").parm("parm_to_be_linked").setExpression("ch('parm_to_drive_link')") Cheers, Luca 1 Quote Link to comment Share on other sites More sharing options...
zrags Posted October 11, 2019 Author Share Posted October 11, 2019 On 10/10/2019 at 1:43 AM, LucaScheller said: Hi, if you set the parm expression to link to the parm of your liking, then Houdini should add the linking automatically. (Make sure to refresh/reopen the Edit Parm Window after executing this to see the new linked channels in the Channel tab.) hou.node("/obj/geo").parm("parm_to_be_linked").setExpression("ch('parm_to_drive_link')") Cheers, Luca Thanks! This was exactly what I needed. 1 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.