Roman Vetrov

romawind

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Access to hou.ParmTemplate.conditionals() result May 25, 2022, 11:45 a.m.

Actually I've already found a solution. :S
Simple
for x, y in conditionals_dict.items():
    key = str(x)  # to compare with something like 'parmCondType.DisableWhen'
    value = y
works fine.

Hope this will be useful for someone someday.

Access to hou.ParmTemplate.conditionals() result May 24, 2022, 7:33 p.m.

Hello.

I am trying to modify the conditionals of the asset's parameters via Python.
The .conditionals()method returns a weird dictionary (set?).
How should I access the value using the key in such case?