AnsweredAssumed Answered

DWG 'file properties' extraction

Question asked by pnacci on Mar 22, 2010
Latest reply on Nov 10, 2012 by pnacci
Hi all, I'm trying to get metatada from DWG. To do it I wrote some code in plain "C" which reads DWG (2004, 2007, 2010) from a file (or stdin) and gives me this output:

<?xml version='1.0'?>
<dwgprops>
        <title>TITLE-TEXT</title>
        <argument>ARGUMENT-TEXT</argument>
        <author>AUTHOR-TEXT</author>
        <keywords>KEYWORD1,KEYWORD2…</keywords>
        <comments>COMMENT-TEXT</comments>
        <lastuser>LAST-SAVED-BY</lastuser>
        <hyperlink>BASE-HYPERLINK</hyperlink>
</dwgprops>

I could not write it with Java because I'm too "java-noob"  :oops: so the question is:
Metadata Extracter can run external commands (like Content Transformation)?
If yes I could chain execution of my little program with XML metatada extractor.

If not, is anyone interested in dwg extraction code (ansi C) to convert it to an alfresco Metadata extracter bean?

Outcomes