Is there a way to have a multiparm with multiple defaults?
1623
2
0
-
- probiner
- Member
- 337 posts
- Joined: June 2013
- Offline
Multiparms default value is the same for all entries.
Is there a way to set them depending on the index from a list?
While looking into this I tried the expression route (even if it's annoying to have the parameter with expression and not just default value) with
hou.evaluatingParm().name()
so I could get parm name, infer its id and then then do something like
("name1", "name2", "name3")[id%3]
But I'm wondering if there's a cleaner solution.
Thanks
Edited by probiner - July 15, 2019 17:50:15
-
- tamte
- Member
- 8511 posts
- Joined: July 2007
- Offline
Just use #
Or name#
It will still create expression though
Tomas Slancik
FX Supervisor
Method Studios, NY
-
- probiner
- Member
- 337 posts
- Joined: June 2013
- Offline
How so tamte? How would you apply this #?
Thanks