SUBSCRIBE The SideFX mailing list is a great place to make contact with Houdini users. To subscribe, send us an email with no subject and the word subscribe in the body.
- 19 participants
- 12 discussions
object ID passes 1 year, 2 months
Hi. I?m looking for a way to generate object IDs ala v-ray multi-mattes or similar. So adding a channel to an exr where objectA matte is in the red, objectB is in the green, etc. Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile http://corestudio.com <http://corestudio.com/>
- 8 participants
- 13 comments
How to modify default value of parameter in HDA with hom 1 year, 2 months
Hi All, I have been trying to modify the default value of an existing parameter of an existing HDA using python - I have tried the following, which does not seem to work, even though it does seem to set it on the template, it is not written back to the parameter on the asset - import hou mn = hou.selectedNodes() parm_group = mn.parmTemplateGroup() parm_template = parm_group.find('refl_brdf') parm_template.setDefaultValue(('1',)) parm_group.replace(parm_template.name(), parm_template) mn.setParmTemplateGroup(parm_group) The default value is currently ('0',). Ideas? Where am I going wrong? I did start to investigate what the parm_group holds as basic, and seems to be a collection of folder templates, which you can grab, and in there are other folder templates........ in other words, diving into a rabbit warren. The simple method above, does find the correct parm template, I can print it and see everything, but it just does not set it back! Thanks S.
- 2 participants
- 2 comments