Hi,

try to do it all in tcl:

[value root.proj_dir][value parent.bg][value
parent.precomp_name]/[value parent.precomp_name].v[format %03d [value 
parent.precomp_version]].%04d.exr

Best regards,
Michael
------------------------------------------
DI (FH) Michael Habenicht
compositing - vfx :: motiongraphics :: dvd

http://www.tinitron.de
[email protected]
**
Digital Compositor & TD TRIXTER Film Munich
http://www.trixter.de
------------------------------------------

----- Original Message -----
From: [email protected]
To: [email protected]
Date: 03.03.2011 07:26:12
Subject: [Nuke-python] can execute a group, but not an identical gizmo?


> Hi fellow TDs!
> I've got an issue here where I've updated a precomp gizmo.
> By simply inserting "[value parent.bg]" in which .bg is a pulldown
> choice knob, I've inserted that into the below expression. (which was
> working fine).
> 
> This works fine:
> [value root.proj_dir][value parent.precomp_name]/[value
> parent.precomp_name].v[python -eval {'%03d' %
> nuke.thisGroup()['precomp_version'].value()}].%04d.exr
> 
> This works fine, UNTIL I save the group as a gizmo!
> [value root.proj_dir][value parent.bg][value
> parent.precomp_name]/[value parent.precomp_name].v[python -eval
> {'%03d' % nuke.thisGroup()['precomp_version'].value()}].%04d.exr
> 
> The problem is, this is a precomp gizmo that needs to be executed
> (rendered) and when using it on the renderfarm I get :
> "RuntimeError: Precomp3 cannot be executed
> Precomp3 cannot be executed"
> 
> Any ideas? This freaking issue has had me in knots for a couple of hours.
> Using nuke 6.1v1, hoping to upgrade the studio to 6.2 soon, but for
> now the farm is on 6.1v1.
> 
> Cheers,
> Jordan
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
> 




_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to