I'm trying to get the unformatted multiparm parameter name from a hou.Parm object (my_multiparm_#_#). There might be an easy solution to do this but so far I'm having difficulty finding one..
Say I have a custom HDA with a string multiparm: my_string1, my_string2, my_string3. in Python, I can write:
For my use case, I'd like to get: "my_string#, my_string#, my_string#" , rather than: "my_string1, my_string2, my_string3"
But it appears in the documentation that we'll always get the "#" replaced. Additionally, there are nested multiparms with multiple pound signs, and I'd like to read those without the number replacements as well. Does anyone have any tips? Thanks!
@kodra. I believe that's what I'm doing here. I tried parm.tuple().parmTemplate().name() and parm.parmTemplate().name() both gives me something like my_string1 instead of my_string#
Afaik ParmTemplate describes the parameter as it is in the asset definition, so having it return the parameter name as if it's instanced feels confusing..