celd Posted June 5, 2019 Share Posted June 5, 2019 Hi,I have a multiparm block (list) folder with 2 parameters : 1)label and 2)integer parameter with different values for each parm instance. I would like each instance of the label to reference its pair instance of integer parameter (and then hide the integer parm so users can only see the label displaying its value). I tried writing this: `ch("intparm#")` into the label field, but it seems to always look at intparm1, even for additional instances. Is there a way to do this somehow? Maybe force a python script into the label field? Any other workarounds? Thanks Quote Link to comment Share on other sites More sharing options...
LucaScheller Posted June 28, 2019 Share Posted June 28, 2019 (edited) Hey Filip, it's possible via this expression: `ch("number_"+substr($CH,rindex($CH,"_")+1,1000000))` In order for this to work you have to name you parameter "label_#". The expression slices the string based on the last "_". That way you get the current index with which you can look up other parameters. See the attached file for more info Cheers, -Luca parameter_current_index.hip Edited June 28, 2019 by LucaScheller 2 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.