Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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
On 10/12/2014 at 03:26, xxxxxxxx wrote:
Thanks. It was very helpful.
Nishant