On 09/12/2014 at 21:07, xxxxxxxx wrote:
Hi,
Are there metadata linked to a cinema4d file?
How can we extract them in a txt file or in XML or in any other format so that they can be used further?
Thanks
Nishant
On 09/12/2014 at 21:07, xxxxxxxx wrote:
Hi,
Are there metadata linked to a cinema4d file?
How can we extract them in a txt file or in XML or in any other format so that they can be used further?
Thanks
Nishant
On 10/12/2014 at 02:37, xxxxxxxx wrote:
Hello,
to get information like the author, copyright or creation date you can access the document's data via GetDocumentData().
data = doc.GetDocumentData(c4d.DOCUMENTSETTINGS_DOCUMENT)
print data[c4d.DOCUMENT_INFO_AUTHOR]
print data[c4d.DOCUMENT_INFO_PRGCREATOR_NAME]
Then you can write this information to a file like you want. If you want to access this data from another application you have to use the C++ Melange library.
Best wishes,
Sebastian