def markingMenu():
'''
Example of how a marking menu could be set up.
'''
menuKwargs = {'enable':True,
'subMenu':False,
'enableCommandRepeat':True,
'optionBox':False,
'boldFont':True}
mc.menuItem(radialPosition='NW', label='Trans', command=translate, **menuKwargs)
mc.menuItem(radialPosition='N', label='Rot', command=rotate, **menuKwargs)
mc.menuItem(radialPosition='NE', label='Scale', command=scale, **menuKwargs)
mc.menuItem(radialPosition='SW', label='X', command=x, **menuKwargs)
mc.menuItem(radialPosition='S', label='Y', command=y, **menuKwargs)
mc.menuItem(radialPosition='SE', label='Z', command=z, **menuKwargs)
mc.menuItem(radialPosition='W', label='ChanBox', command=channelBox, **menuKwargs)
mc.menuItem(radialPosition='E', label='Sel', command=selected, **menuKwargs)
mc.menuItem(label='All', command=showAll, **menuKwargs)
评论列表
文章目录