zbw_appendPath.py 文件源码

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

项目:zTools 作者: zethwillie 项目源码 文件源码
def addToField(num, *args):
    """calls a file dialog to get a path and adds it to the selected field"""
    #set the field to add to
    textField  = widgets["path%s"%num]

    #call up browser to look for paths
    path = cmds.fileDialog2(fm=3)[0]

    #add text
    if path:
        cmds.textFieldButtonGrp(textField, e=True, tx=path)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号