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…
Long story short...im making a toolset that replicates the one similar in max to make life easier for myself. Here is the button code for extrude: bt0 = cmds.button( label='Extrude Face', width=203, command=cmds.'put command here' ) The command i want is the extrude one exactly the same as the extrude button in the 'Mesh…
thanks guys. working nicely apart form one thing..the extrude comes with 15 divisions by default? how do i set this to just one? This is what i have so far: bt0 = cmds.button( label='Extrude Face', width=203, command=cmds.PolyExtrude )
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…