Roy Nieterau

colorbleed

About Me

3D Character Animation Studio - from stylized to VFX, based in the Netherlands
EXPERTISE
Technical Director
INDUSTRY
Advertising / Motion Graphics  | Film/TV

Connect

LOCATION
Utrecht, Netherlands

Houdini Skills

Availability

I am available for Contract Work

Recent Forum Posts

Python query current audio panel settings Dec. 16, 2024, 9:24 a.m.

Is there any good way to query the currently configured audio panel settings? I'm in particular looking to query the currently selected file or CHOPs?

I've seen the hou.audio module [www.sidefx.com]. However, it has no ways to query the currently set values - only ways to set new values.

Then there is the hscript equivalent audiopanel [www.sidefx.com] which when executed without arguments would print the current configuration.

As such - the only way seems to parse the result of that into Python object, e.g. similar to this quick prototype [github.com].

Is there an easier way to access this?

Preferably there would just be access to e.g. `hou.audio.filename()` etc.

How to check if node is camera or light with python Nov. 10, 2024, 5:58 p.m.

> Would be nice to have access to the data it is using to filter them under the hood.

Agreed - interested to hear how Houdini itself filters these. E.g. it can also detect LOP Import Camera in `/obj` is 'a camera' but there doesn't seem to be a `hou.ObjNode` way of querying whether it's a camera in that sense.

Get LopNode.stage() with specific context options Oct. 28, 2024, 5:48 a.m.

For now I ended up computing the context options from the ROP myself and and writing a context options context manager to apply them temporarily. The code is here [github.com].