C4D 2023
I am using the method in a custom script as follows:
c4d.documents.SaveProject(doc, c4d.SAVEPROJECT_SCENEFILE |
c4d.SAVEPROJECT_ASSETS |
c4d.SAVEPROJECT_USEDOCUMENTNAMEASFILENAME,
self.filedir,
[],
[],
)
When using this to save an open project to a different directory, the newly saved project file (which remains open in C4D) locks up and the user can no longer save the open project with Ctrl+S or File>Save Project.
An error dialog pops up showing:
Unable to write file "FILENAME" (file may be write protected)
There are no additional errors in the Console.
Any ideas? This is a blocker on our current pipeline.