Skip to content

Commit

Permalink
hide parameters permanently and move to good possition
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaJafar committed Jul 12, 2024
1 parent b905953 commit c92791c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions client/ayon_houdini/api/workfile_template_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,13 @@ def create_placeholder_node(self, node_name=None):
"""

node = hou.node("/out").createNode("null", node_name)
node.parm("execute").hide(True)
node.parm("renderdialog").hide(True)
node.moveToGoodPosition()
parms = node.parmTemplateGroup()
for parm in {"execute", "renderdialog"}:
p = parms.find(parm)
p.hide(True)
parms.replace(parm, p)
node.setParmTemplateGroup(parms)
return node

def create_placeholder(self, placeholder_data):
Expand Down

0 comments on commit c92791c

Please sign in to comment.