AdamM Posted September 1, 2022 Share Posted September 1, 2022 (edited) This works in the python console >>>xx = hou.parm('/obj/pathto/my_key_value_parm') >>>xx.set({'example_key':'example_val'}) Yet If I right click on the key_value parameter - Edit Expression - Change Language to Python and enter the following mydict = {'ex_k': 'ex_v'} return mydict No value is shown in the UI, and I get an error Warning: Bad parameter reference: /obj/pathto/my_key_value_parm. HouFX 19.5 Edited September 1, 2022 by AdamM Quote Link to comment Share on other sites More sharing options...
ftaswin Posted October 30, 2022 Share Posted October 30, 2022 xx.setParms(dict) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.