ah, thanks. I didn't get the unit error.
If I use a string with a unit for the cache limit instead of an integer it works:

write = nuke.toNode('Write1')
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write], nuke.FrameRanges('1-10'), ['main'], {'maxThreads':2, 'maxCache':'4096M'})

Cheers,
frank

On 2012-12-11 19:02, chris wrote:
hmm weird, seems to work here in some versions of 6.3 under OSX
(10.6.8), but throws an error in 6.3v1:

Error in render with process id 2577:
Unknown units in -c 

if i remove the limits it also renders in 6.3v1:

write = nuke.toNode('Write1')
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write],
nuke.FrameRanges('1-10'), ['main'], {})



On 12/11/12 at 2:44 AM, fr...@beingfrank.info wrote:

write = nuke.toNode('Write1')
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write], nuke.FrameRanges('1-10'), ['main'], {'maxThreads':2, 'maxCache':4096})

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to