zbw_spaceMatch_overComplex.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:zTools 作者: zethwillie 项目源码 文件源码
def getObj(tfg, *args):
    """gets selected obj and adds it to the text field"""
    sel = cmds.ls(sl=True, type="transform", l=True)
    if (len(sel)) == 1:
        cmds.textFieldGrp(tfg, e=True, tx=sel[0])
        #--------if layout == the space switch text grp
        clearList()
    else:
        cmds.warning("yo. Select one object as your space switch control")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号