Here's a thread of mine that might answer some of your questions:
https://forum.simplymaya.com/showthre...threadid=27902
To create a shelf button for a specific action you can use the Mel script that calls it (which you can find in the script editor after preforming the action)
Hope this helps,
Benny
When in doubt, delete history and freeze transformations.
My latest snake game
(Requires DirectX9 SDK and Framework)