Jump to content

setJointWithNext does not work like expected


sanostol

Recommended Posts

I want to generate spare parameters and join some lines, but I can not get it to work, the join_with_next arguement does not work and the function "setJoinWithNext" also does not. What's wrong here?

filetemplate = hou.StringParmTemplate( "file", "File", 1, default_value=("",), string_type=hou.stringParmType.NodeReference, join_with_next= True)
issequencetemplate = hou.ToggleParmTemplate("issequence", "Sequence", default_value=False, join_with_next=False)
filetemplate.setJoinWithNext(True)

n.addSpareParmTuple(nodetemplate, in_folder = ("Caches",))
n.addSpareParmTuple(issequencetemplate, in_folder = ("Caches",))

thanks a lot

Martin

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...