Multi-Pass

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 15/07/2012 at 13:30, xxxxxxxx wrote:

Hi everyone,

I'm writing a script that checks certain rendersettings of C4D R13, and I was wondering if there's a way to read out if the user has added multi-passes, that are disabled/unchecked

Should it be something like:

rsettings = doc.GetActiveRenderData()
mpasses = rsettings.GetFirstMultipass()
for i in mpasses:
> print i[AND_THEN_SOMETHING_HERE?]

Or am I looking in the wrong place?

Greets!
Hans Willem

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/07/2012 at 07:45, xxxxxxxx wrote:

Hi Hans,

you could loop through the RenderData of your document and check for the passes.

rd = doc.GetActiveRenderData().GetData() # a basecontainer
for index, stuff in rd:
	print "%d  =  %s" % (index, stuff)

You'll have to evaluate the index values (check the list in the documentation under RenderData)

Michael