Beispiel #1
0
def setPath():
    gizmosPath=nuke.getFilename('Locate Gizmos directory.')
    
    if gizmosPath:
        data={}
        data['gizmosPath']=gizmosPath
        f=open(os.path.dirname(__file__)+'/'+'config.yml','w')
        uy.dump(data, f)
        f.close()
        
        gizmoMenuItems(gizmosPath)
Beispiel #2
0
def setSettings(data):

    settingsFile = cmds.internalVar(upd=True) + 'Tapp.yml'
    f = open(settingsFile, 'w')

    uy.dump(data, f)