検索 - User list
Full Version: Python query current audio panel settings
Root » Technical Discussion » Python query current audio panel settings
colorbleed
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.
colorbleed
Just raising this question again - is there an easier way?
johnmather
Please submit an RFE so this can be triaged. Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB