Adept Posted July 15, 2011 Share Posted July 15, 2011 (edited) Hi everybody, I'm creating nodes using python and I have a question. Is there any way to update MultiparmBlock parameters inside of a network using top level interface of this network? block=hou.FolderParmTemplate("block","Multiparm block",folder_type=hou.folderType.MultiparmBlock) block.addParmTemplate(hou.StringParmTemplate("parm#", "Parameter #", 1, "", hou.parmNamingScheme.Base1,hou.stringParmType.Regular)) inside_node.setParmExpressions({"numobj": "ch(\"../block\")"}) This code gives me multiparm block inside of my asset that dynamically matches the number of items on the top level. But I can't get any referencing on parameters inside the network using the # symbol. I've tried folderType.ImportBlock for the top level node, but op:inside_node in source field (import settings) doesn't seem to work too. And import settings are only available using gear menu, not python (am I wrong?). Does everybody know if it's implemented at all? Edited July 15, 2011 by Adept Quote Link to comment Share on other sites More sharing options...
Adept Posted July 18, 2011 Author Share Posted July 18, 2011 I update them via custom button and its callback script. Convenient way is wanted still... 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.