Marc-André Belzile
mabelzile
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
My Badges
SideFX Staff
Since Feb 2018
Recent Forum Posts
How to correctly pre-orient Python state xform handles? Jan. 5, 2026, 11:26 a.m.
coccarolla
I hope I can get an answer because I've been experimenting for a long time without any results.
I am trying to orient a python handle based on incoming geometry normals. The way I am trying to accomplish this is by extracting the position and the normal and building transforms from them in onDrawSetup. Then I am trying to multiply these with the gadgets' xform but results are not stable. Is there a proper order or place for doing this? Or am I doing something fundamentally wrong?
Could you provide a working Python handle that demonstrates the issues you are encountering?
How to switch multiple viewer states in HDA? July 30, 2025, 2:04 p.m.
Take a look at this HDA. It contains multiple nodes, each using their specific state with a script for switching states. You always need to select the proper node to enter a state, unless your state is nodeless, which I don't think is the goal here.
Image Not Found
Python States Handle Documentation May 15, 2025, 12:51 p.m.
It's not fully documented, there are some bits of information here [www.sidefx.com]
You could also inspect the relevant handle with the Operator Type Handle Bindings panel along with the Parameter editor. The bindings panel list all handle with their parameters. The transformer node can be inspected in the Parameter editor to see the related parameters.
You could also inspect the relevant handle with the Operator Type Handle Bindings panel along with the Parameter editor. The bindings panel list all handle with their parameters. The transformer node can be inspected in the Parameter editor to see the related parameters.