set channel-expression through python

   1821   2   2
User Avatar
Member
81 posts
Joined: Feb. 2014
Online
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: Oct. 2011
Offline
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
81 posts
Joined: Feb. 2014
Online
Yup, that did it……


Great, thanks!
  • Quick Links