Juraj 293 Posted January 19, 2017 Hi, when creating channel defaults inside digital asset I can set it as a value or hscript expression. Is it possible to set it to python expression? A way would be to create OnCreated script which will assign expression to a channel, or use some hscript for executing python command. But I am curious if there is another - better way Juraj Share this post Link to post Share on other sites
Atom 1,440 Posted January 19, 2017 (edited) If you have a parameter you can use parm.setExpression() to specify an expression and expression language. http://www.sidefx.com/docs/houdini/hom/hou/Parm hou.exprLanguage.Python Edited January 19, 2017 by Atom Share this post Link to post Share on other sites
Juraj 293 Posted January 19, 2017 Hi, thanks, yeah, that could be used in combination with OnCreated script. At the end I used pythonexprs() hscript expression which was sufficient for my case. Share this post Link to post Share on other sites
anim 1,262 Posted January 26, 2017 there is a Python option for defaults if you click on tiny calculator icon you can choose among (Literal/Hscript/Python) 1 Share this post Link to post Share on other sites