zbw_messageMapper.py 文件源码

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

项目:zTools 作者: zethwillie 项目源码 文件源码
def zbw_mmDeleteLast(*args):
    """
    deletes the last pair of attr, obj text fields in the UI
    """
    children = cmds.rowColumnLayout("mmRCLayout" , q=True, ca=True)

    if children:
        numChildren = len(children)
        lastTFG = "attr" + str(numChildren/2)
        lastTFBG = "obj" + str(numChildren/2)
        cmds.deleteUI(lastTFG)
        cmds.deleteUI(lastTFBG)

    else:
        pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号