Example #1
0
def proxyprerenderPath():
    try:
        return media.Path(nuke.root().name(),
                          app='nuke',
                          node_name=nuke.thisNode().name()).ProxyPreRenderPath
    except:
        return
Example #2
0
def fullresPath():
    try:
        # path = "Z:/disney/once_02/episodios/EP08/secuencias/E7A/shots/GFX_ONCE_Y02_EP08_E7A_020/Compo Final/NO_PARENT_a_Compo Final_v003.nk" # script de prueba
        info_path = media.Path(nuke.root().name(), app='nuke')
        if info_path.project == project_name:
            return info_path.fullresPathExr
        if info_path.project == project_name2:
            return info_path.fullresPathExr
        else:
            return info_path.fullresPath
        # return media.Path(nuke.root().name(), app='nuke').fullresPath # script original
    except:
        return ''
Example #3
0
def appOutputPath():
    return media.Path(nuke.root().name(), app='nuke').appOutputPath
Example #4
0
def mediaPath():
    try:
        print(media.Path(nuke.root().name()).mediaPath)
        return media.Path(nuke.root().name()).mediaPath
    except:
        return media.root
Example #5
0
def MOVPath():
    return media.Path(nuke.root().name(), app='nuke').MOVPath
Example #6
0
def lowresMOVPath():
    try:
        return media.Path(nuke.root().name(), app='nuke').lowresMOVPath
    except:
        return ''