def proxyprerenderPath(): try: return media.Path(nuke.root().name(), app='nuke', node_name=nuke.thisNode().name()).ProxyPreRenderPath except: return
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 ''
def appOutputPath(): return media.Path(nuke.root().name(), app='nuke').appOutputPath
def mediaPath(): try: print(media.Path(nuke.root().name()).mediaPath) return media.Path(nuke.root().name()).mediaPath except: return media.root
def MOVPath(): return media.Path(nuke.root().name(), app='nuke').MOVPath
def lowresMOVPath(): try: return media.Path(nuke.root().name(), app='nuke').lowresMOVPath except: return ''