On 13/03/2013 at 10:23, xxxxxxxx wrote:
Hi
I am able to get the list of passes via GetFirstMultipass().
And I can request the description name, but I was not able to get the "checked" status of the pass.
Any hints?
Thanks
On 13/03/2013 at 10:23, xxxxxxxx wrote:
Hi
I am able to get the list of passes via GetFirstMultipass().
And I can request the description name, but I was not able to get the "checked" status of the pass.
Any hints?
Thanks
On 13/03/2013 at 11:11, xxxxxxxx wrote:
Is this what you want?
import c4d
def main() :
rd = doc.GetActiveRenderData() #gets the render settings
rd[c4d.RDATA_MULTIPASS_ENABLE]= True #Enables the mp option
rd.Message(c4d.MSG_UPDATE) #Tell c4d you changed it
state = rd[c4d.RDATA_MULTIPASS_ENABLE] #Gets the mp on/off state
print state
c4d.EventAdd()
if __name__=='__main__':
main()
-ScottA