On 23/03/2015 at 12:29, xxxxxxxx wrote:
Is there a way to have the "Save Project File..." button not show me the dialog? Or, if that's not possible, be able to store that saved file in a variable?
Currently I'm doing the following, which always brings up the dialog.
doc = c4d.documents.GetActiveDocument() rdata = doc.GetActiveRenderData() c4d.CallButton( rdata, c4d.RDATA_PROJECTFILESAVE )
I couldn't find any arguments like dialogsAllowed.
I've also tried the following:
output = c4d.CallButton( rdata, c4d.RDATA_PROJECTFILESAVE ) print output
but that will always give me an result of None.