DropDownList Button ( like the snaps on )

Hello all,

I have a UI button that execute a command / script / or function (custom render) on a leftclick (simple MS macroscript UI drag n drop button) so far so basic and simple ... but I'd like it to have on long leftclick a dropdown button menu that changes button icon and function executed by the script and on rightclick a popup with options for modifying the render options ( exactly like the snaps button, the one with the magnet)

something like :

on button longleftclick do
(
dropdown override preset 1 to n ( with n icons under column form )
)

on button (selected preset n) rightclick do
(
popup "preset n override options" rollout
checkboxes, spinners and all that, that changes render parameters
on settings change do
(
asssign changed param to preset n
)
createdialog etc ...
)

on button leftclick do
(
render with "n selected preset override options"
)

I think I may be able to figure out all the "change render settings part" but I couldn't find anything on the "snaps style" button menu.

Maybe it needs to be a plugin or is that possible with maxscipt ?

Thanks guys.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
NikNok's picture

No one has any ideas about

No one has any ideas about this ?

Nicolas Miroglio
Archviz Book : http://www.niknok-images.com/
Animation Book : http://nik-nok.wix.com/niknokanimation

miauu's picture
toothpick's picture

Nice

Very nice

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.