Parameter Interface setting randomizer

   213   3   0
User Avatar
Member
2 posts
Joined: 3月 2016
オフライン
Hello!
Is there a way to make a... say Python button that will shuffle trough multiple "Ordered Menu" and generate random setting on each press? Or is there any other better way to achieve this?
For example:
You have a "Parameter Interface" with 2 drop-down menus. Like 1st=Shape and 2nd=Color.
And want to generate a random setting on each button press like (Cube, Yellow) or (Sphere, Red) and so on.

Thank You!
Edited by iraklisan - 昨日 12:38:02
User Avatar
Member
249 posts
Joined: 5月 2017
オフライン
Hi,
'Or is there any other better way to achieve this?' you have to be more precise. Here is an example that shows exactly what you described.

Image Not Found

Attachments:
randomize_parm_values.hipnc (97.3 KB)

User Avatar
Member
2 posts
Joined: 3月 2016
オフライン
Thank You for taking time and creating/uploading file.
The functionality looks great. Dont understand how you embedded HDA into the HIP file, but i will figure that out.
User Avatar
Member
249 posts
Joined: 5月 2017
オフライン
In the asset creation dialog, drop down "location" menu, there is an option "ebede in hip file".

And just in case, I dont know how deep you are into py and stuff:
In the type properties/parameters you will find the randomize button holding a callback "test" pointing to the assets python module, which you can find under script tab - there are some notes.

Attachments:
new_digital_asset.jpg (15.9 KB)

  • Quick Links