after a long day of struggling I have reached a wall and looking for help. I need to get a name of parm of selected channel with Python, but had no luck with that.
Hi, I just tried that snippet and it seems to work fine for me, and I'm able to get the name of the parm with
parm.name()
.
Do you now which part is failing? Is the keyframes.keys() dictionary empty?
Just to double check, you're trying to get the name of a channel for which you've selected keys in the graph itself, right? If it's just selected in the channel list you can instead do something like:
correct, I am getting just an empty dictionary in keyframes variable "dict_keys()". Still have no idea, why it doesn't work for me. Your suggestion to use hou.playbar.channelList() works great for my case. Many thanks!!!