Is there a way to have a multiparm with multiple defaults?

   1630   2   0
User Avatar
Member
338 posts
Joined: June 2013
Online
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
User Avatar
Member
8535 posts
Joined: July 2007
Offline
Just use #
Or name#

It will still create expression though
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
338 posts
Joined: June 2013
Online
How so tamte? How would you apply this #?

Thanks
  • Quick Links