MultiParmTemplate and Python...
4127
4
0
dagush
Member
98 posts
Joined: Sept. 2008
Offline
Nov. 24, 2009 2:52 p.m.
Dear all,
I'm trying to add a simple multiparm parameter to my HDA entirely created within Python. What I mean is that I want a “multiparm block (list)” like the one in the attached example, and I'm trying to create it with
multi_template = hou.MultiParmTemplate(name='Components', label='Components', default_value=1) container.addSpareParmTuple(multi_template) but it does not work… I don't know why, but it is creating a simple IntParmTemplate… and the asCode() method is of not much help here…
so, the question is, how can I create a multiparm from Python?? Any ideas?
thank you all
dagush.-
Attachments:
test_multiparm.hipnc (33.9 KB)
————————- * skylineEngine project coordinator * buildingEngine module developer http//ggg.udg.edu/skylineEngine
mrice
Member
89 posts
Joined: April 2008
Offline
Nov. 24, 2009 7:05 p.m.
Looks like it doesnt work. Trying to do a quick test here, copying the template from an existing multiparm, causes Houdini to crash faster than a bear in a beehive. Did you submit a bug report?
dagush
Member
98 posts
Joined: Sept. 2008
Offline
Nov. 25, 2009 3:23 a.m.
Nope. In my experience, all bugs I've found were my own and not actual Houdini bugs. If you confirm this is not my fault, I'll do it. cheers dagush.-
————————- * skylineEngine project coordinator * buildingEngine module developer http//ggg.udg.edu/skylineEngine
Ondrej
Staff
1072 posts
Joined: July 2005
Offline
Nov. 26, 2009 9:40 a.m.
dagush Nope. In my experience, all bugs I've found were my own and not actual Houdini bugs. If you confirm this is not my fault, I'll do it.In this case, this is a Houdini bug.
dagush
Member
98 posts
Joined: Sept. 2008
Offline
Nov. 26, 2009 10:33 a.m.
Thanks!!! I've just made the bug report, and quite promptly they sent me an e-mail telling me that this is a known issue as MultiParm tools are not fully implemented yet… thanks again!!! dagush.-
————————- * skylineEngine project coordinator * buildingEngine module developer http//ggg.udg.edu/skylineEngine