clip.py 文件源码

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

项目:maya2katana 作者: ababak 项目源码 文件源码
def getNodeAttributes(node):
    '''
    Get Maya node attributes
    '''
    attributes = cmds.listAttr(node)
    attr = {}
    attr['nodeName'] = node
    attr['nodeType'] = cmds.nodeType(node)
    for attribute in attributes:
        if '.' in attribute:
            continue
        try:
            val = cmds.getAttr(node + '.' + attribute)
        except RuntimeError:
            continue
        attr[attribute] = val
    return attr
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号