I'm doing a bit of a project, effectively using python to script houdini to do some nasty tricks, and have hit a bit of a brick wall. Perhaps somebody can help - I'm new to both python and houdini unfortunately so I suspect this is pretty easy if you know the way of it.
So, I create a geometry node
myNode=hou.node('/obj').createNode('geo')
I can do various things with that, but what I really need to do is effectively store a few variables in the node, so I can track and modify a few aspects of the object. I understand that I need to create a parm to do this, and I can create, but then I can't set the value as it has type ‘none’. I can't figure out how to set the type, or initialise the parm with a useful type.
Can anyone point me in the right direction?
Thanks in advance!