houetuya houetuya

houetuya

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Can $F be written in a Houdini node's parameter via Python? June 15, 2024, 8:36 a.m.

Thanks. That works.
I truly appreciate this help.

Thank you so much.

Can $F be written in a Houdini node's parameter via Python? June 13, 2024, 9:04 a.m.

Is it possible to write $F in the integer parameter of a node created with Python in Houdini?

I want to put $F-1 in the parameter of a Switch created with Python, but in the current code, it is changed to the frame number at the moment of creation.
Please advise.


import hou
import os

switchNode = hou.node(".").createNode("switch")

expression =str($F)
switchNode.parm("input").set(str(expression))