コード例 #1
0
def proxyprerenderPath():
    try:
        return media.Path(nuke.root().name(),
                          app='nuke',
                          node_name=nuke.thisNode().name()).ProxyPreRenderPath
    except:
        return
コード例 #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 ''
コード例 #3
0
def appOutputPath():
    return media.Path(nuke.root().name(), app='nuke').appOutputPath
コード例 #4
0
def mediaPath():
    try:
        print(media.Path(nuke.root().name()).mediaPath)
        return media.Path(nuke.root().name()).mediaPath
    except:
        return media.root
コード例 #5
0
def MOVPath():
    return media.Path(nuke.root().name(), app='nuke').MOVPath
コード例 #6
0
def lowresMOVPath():
    try:
        return media.Path(nuke.root().name(), app='nuke').lowresMOVPath
    except:
        return ''