set channel-expression through python

   2592   2   2
User Avatar
Member
87 posts
Joined: 2月 2014
オンライン
I am looking for the correct way to put an expression (hscript) in a node-channel (float) through a python script (hda). How can such be achieved?
User Avatar
Member
459 posts
Joined: 10月 2011
オフライン
You could try hou.Parm.setExpression(…)
https://www.sidefx.com/docs/houdini/hom/hou/Parm.html [www.sidefx.com]
Scroll to Expression

-b
http://www.racecar.no [www.racecar.no]
User Avatar
Member
87 posts
Joined: 2月 2014
オンライン
Yup, that did it……


Great, thanks!
  • Quick Links