def channelBox_filterAttrs(box):
with sysCmd.Undo(0):
names = []
for key, value in box.filter_attrs.iteritems():
if value:
names.append(key)
box.filter = cmds.itemFilterAttr(byNameString=names, negate=box.saved_states["invertShown"][0])
cmds.channelBox(box.channelbox, e=1, attrFilter=box.filter, update=1)
jtChannelBox_Commands_Default.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录