sergo.pogosyan
03-30-2010, 09:14 PM
I'm in process of writing script to automate adding views to batchrender. Locally everything works fine, but when I submit network rendering it doesn't work.
It seems that setting output file for batchrender job doesn't work as it should.
But the strangest thing is that locally this code works well.
Here's the test code:
batch_view = batchRenderMgr.CreateView undefined
batch_view.outputFilename = "d:\picture.jpg"
batchRenderMgr.netRender = true
batchRenderMgr.Render()
I even tried to make bitmap file manually and use its .filename to assign to job's filename but with no luck.
batch_view = batchRenderMgr.CreateView undefined
batch_view.outputFilename = ""
temp_bitmap=Bitmap 10 10 fileName:temp_path
save temp_bitmap
close temp_bitmap
batch_view.outputFilename = temp_bitmap.fileName
batchRenderMgr.netRender = true
batchRenderMgr.Render()
Any ideas?
Thank you.
It seems that setting output file for batchrender job doesn't work as it should.
But the strangest thing is that locally this code works well.
Here's the test code:
batch_view = batchRenderMgr.CreateView undefined
batch_view.outputFilename = "d:\picture.jpg"
batchRenderMgr.netRender = true
batchRenderMgr.Render()
I even tried to make bitmap file manually and use its .filename to assign to job's filename but with no luck.
batch_view = batchRenderMgr.CreateView undefined
batch_view.outputFilename = ""
temp_bitmap=Bitmap 10 10 fileName:temp_path
save temp_bitmap
close temp_bitmap
batch_view.outputFilename = temp_bitmap.fileName
batchRenderMgr.netRender = true
batchRenderMgr.Render()
Any ideas?
Thank you.
