Hiro11 Posted February 28, 2020 Share Posted February 28, 2020 Hi, I cant get the setJoinWithNext() to work when I made it few days ago.(setHelp,setDisableWhen works when I insert in it instead so,I am confused.) Can someone guide me? Thanks Hiro for i in range(number): parm_tuple = node.parmTuples()[i] parm_template = parm_tuple.parmTemplate() parm_type = parm_template.type() if ((parm_template.name() == "execute") or (parm_template.name() == "renderdialog") ): pass elif ((parm_template not in node.parmTemplateGroup().entries()) and (parm_type != hou.parmTemplateType.FolderSet) ): group = node.parmTemplateGroup() folder = group.containingFolder(parm_template).label() parent_node = parent group = parent_node.parmTemplateGroup() folder = group.findFolder(folder) next_bool = parm_template.joinsWithNext() parm_template.setJoinWithNext(next_bool) print(next_bool) group.appendToFolder(folder, parm_template) parent_node.setParmTemplateGroup(group) 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.