I'm starting out in Mel and trying to make a UI window that houses all my commonly used tools for speed modeling. I'm currently trying to add the sculpt tools but having issues with it. I've got a button for pull, push, smooth, and relax. I've used:
button -label "Pull" -command "SculptGeometryTool";
This gets the Sculpt tool to activate but I'm not quite sure how to get the buttons to call specific sculpt options. like if you click the smooth btn, you get the sculpt geometry tool with the smooth operation.
I've tried just popping in what's in the script history, but it loses context once the Sculpt Geometry Tool is closed:
artUpdatePuttyOperation artPuttyCtx smooth ;
I'm still a N00B with scripting so I'm not quite sure how to define the parameters for this... Any help or ideas are greatly aprisiated. ;)