Aritra Sarkar

aritra.cgguru

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

How to edit parameter interface of a node to add existing parameters to a "FolderParmTemplate" using houdini python? July 18, 2019, 6:10 a.m.

Hi I am trying find a way to edit parameter interface to copy parameters “from node” using houdini python. So far I have found how to to add a int,float and string by using FloatParmTemplate,IntParmTemplate and IntParmTemplate command. But could not find a way to copy parameters which exists in that node to a new folder. Manually I can do it by right clicking on the parameter and click “install parameter” which will copy and move the parameters to the right side section. Any help will be appreciated.

node=hou.node('/obj/arnold_light1')
parm_group = node.parmTemplateGroup()
parm_folder = hou.FolderParmTemplate('MyParm', ‘My Parm’)
parm_folder.addParmTemplate( what???????) # For instance If I were to copy the Exposure attribute of the selected light?
parm_group.append(parm_folder)
node.setParmTemplateGroup(parm_group)