Quote from
gozirra on 7. January 2020, 3:39
prism 1.2.1.48
When rendering an asset from Nuke, I get the wrong path.
I get:
.../production/01_Workflow/Assets/allFood/Scenefiles/Rendering/2dRender/.../v0001/..._v0001.####.png
when it should be:
.../production/01_Workflow/Assets/allFood/Rendering/2dRender/.../v0001/..._v0001.####.png
This is the python in the write node.
[python -exec {
opath = ""
try:
opath = pcore.appPlugin.getOutputPath(nuke.thisNode(), nuke.thisGroup())
except:
opath = nuke.thisGroup().knob("fileName").toScript()
}][python opath]
This is the path of the read node.
.../production/01_Workflow/Assets/allFood/Rendering/3dRender/.../v0001_export/beauty/..._v0001_beauty.####.exr
prism 1.2.1.48
When rendering an asset from Nuke, I get the wrong path.
I get:
.../production/01_Workflow/Assets/allFood/Scenefiles/Rendering/2dRender/.../v0001/..._v0001.####.png
when it should be:
.../production/01_Workflow/Assets/allFood/Rendering/2dRender/.../v0001/..._v0001.####.png
This is the python in the write node.
[python -exec {
opath = ""
try:
opath = pcore.appPlugin.getOutputPath(nuke.thisNode(), nuke.thisGroup())
except:
opath = nuke.thisGroup().knob("fileName").toScript()
}][python opath]
This is the path of the read node.
.../production/01_Workflow/Assets/allFood/Rendering/3dRender/.../v0001_export/beauty/..._v0001_beauty.####.exr