On 20/03/2016 at 11:50, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 17
Platform: Windows ;
Language(s) : PYTHON ;
---------
Hi, guys!
How to get Multipass selected in Render Settings?
i try this code, but it don't works. What's wrong?
import c4d
def main() :
rd = doc.GetActiveRenderData()
vp = rd.GetFirstMultipass()
while vp:
if vp.GetTypeName() == 'Object Buffer' and vp.GetBit(c4d.BIT_ACTIVE) :
print vp.GetName()
vp = vp.GetNext()
if __name__=='__main__':
main()