|
I’m trying to create a button for the create polygon tool but I can’t find the command in the edit shelf tool. Any idea where it is?
Thanks
|
|
|
|
A fast way to do it is to hold the ctrl and shift keys and then go to Mesh>create polygon tool. You’ll see it added to the current shelf.
My tutorial site and blog http://www.3dtutorialzone.com - http://3dtutorialzone.blogspot.com
|
|
|
|
coincidentally enough, it’s simply:
CreatePolygonTool;
but yes, you can always cntrl + shift + click something from a menu to add it to your currently active shelf.
if you go to the Shelf Editor after you add something to it, you can get the MEL command that it runs for the button by clicking on it in the list and going to the “Edit Commands” tab. If you add the Create Polygon Tool to your shelf it runs the following command:
setToolTo polyCreateFacetContext ; polyCreateFacetCtx -e -pc `optionVar -q polyKeepFacetsPlanar` polyCreateFacetContext;
...using some default settings for the tool.
hope that helps. :)
|
|
|