Search - User list
Full Version: Parameter Interface setting randomizer
Root » Technical Discussion » Parameter Interface setting randomizer
iraklisan
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!
vikus
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
iraklisan
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.
vikus
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB