def createShelfBtn():
currentShelf = cmds.tabLayout("ShelfLayout",selectTab=True,query=True)
cmds.shelfButton( annotation='Delta Mush To Skin Cluster',
command='import dm2sc.convert as convert\nconvert.main()',
label='DM2SC',
sourceType='python',
image1='pythonFamily.png',
imageOverlayLabel='DM2SC',
parent=currentShelf)
评论列表
文章目录