Deborah R. Fowler
Python
in Houdini Examples - Python Expressions
Updated May 9 2013
Updated March 30 2019
Phyllotactic Pattern - described here and seen executed in mel etc. is given here as a "python in Houdini" (see other methods):
- python expressions in a copy node - see phyllotaxisWithPythonExpressions.hipnc
- hou.frame()
- hou.hscriptExpression("$F")
- hou.hscriptExpression('$F')
However I traced it thru the documentation thread via
http://www.sidefx.com/docs/houdini/hom/expressions.html
This states that "The hou.lvar() function cannot access Hscript global variables (use hou.expandString() )."
Going there we get
http://www.sidefx.com/docs/houdini/hom/hou/expandString.html
And then clicking on the bottom link takes us to the link below where halfway down the page is hou.frame()
http://www.sidefx.com/docs/houdini/hom/hou/expandStringAtFrame.html