Gonda Posted June 3, 2018 Share Posted June 3, 2018 Hey All, So, I think I know the answer to this, but is it possible to arbitrarily define a plug-in's Parameter ID's? Specfically, I have a bunch of parameters that are essentially processed (added, values set, etc) in a for loop and what hoping to essentially set the first group to 101,201,301 and the second group to 102,202,302, etc so that I can loop through the values using a single for loop with just adding an offset to access the relevant parameter... ...but I'm guessing this isn't possible...or am I wrong? Cheers, -gonda Quote Link to comment
Miguel Barrera Posted June 3, 2018 Share Posted June 3, 2018 you can if the plug-in is event enabled and you assigned the ids manually during the setup event. Quote Link to comment
Gonda Posted June 3, 2018 Author Share Posted June 3, 2018 So, vsoAddParamWidget only cares that the names match and not necessarily the ID's? -g Quote Link to comment
Miguel Barrera Posted June 3, 2018 Share Posted June 3, 2018 Sorry, I got this confused with added buttons where you do assign your own ids. But knowing that parameter ids start at 1 and are added sequentially you can still loop these values. For the second grouping, you could add 100 or any other number to the parameter ids. Quote Link to comment
Gonda Posted June 3, 2018 Author Share Posted June 3, 2018 That's basically what I'm doing. It's just that I need to have slightly over 100 params (~125) and to get the next chunk to start at, say 201, I need to sit there and add and uniquely name 75 unnecessary parameters...was just hoping there was a way to get around it especially since the parameter dialog has no support for editing multiple items at a time (to set a default, change type, etc) and the keyboard navigation support is also poor. -g Quote Link to comment
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.