Not sure which extrude you're talking about but I think the code you're seeking is: PolyExtrudeFaces; or dR_extrudeTool; Though I'd rather have context sensitive extrude if it was a button than 3 buttons for each component. But I like the context-sensitive marking menus for extrude. A nice way to see what code is being…
So much help :) . I understand what you mean completely with the shift+rmb but this script is just to familiarise myself and any max users picking up Maya for the first time to help them ease in. Once I have the basic modelling tools from Max in one toolbar ported into Maya I will dish it out like candy to anyone that…
if you are using PolyExtrude that isnt possible since PolyExtrude is just a script that runs either polyExtrudeEdge, polyExtrudeFacet, or polyExtrudeVertex based on your selection type. put say you wanted to do a face extrusion with only 1 division you could do this. btn01 = cmds.button(l='Extrude Face', w=203, c=lambda…
Passerby is correct. You could script it another way to run the proper extrude based on selected component, but by your label it seems you want it to only extrude faces. I encourage you to check out the marking menus which is my favorite thing about Maya. They're very fast, you don't have to wait for them to display, just…