Re: Programmatically creating OmniGraffle files

Ian Piper <[email protected]>
Newsgroups gmane.comp.graphics.omnigraffle.user
Message-ID <[email protected]>
On 22 Oct 2009, at 16:58, David Knuth wrote:

> Hi,
>
> I've written a simple C++ class and corresponding tool to extract  
> data from a collection of XML files generated by our floor cleaning  
> robot and created an OmniGraffle drawing from the data.  This has  
> required me to reverse engineer the OG file format to  
> programmatically construct an OG file.  This seems to work well.  My  
> question is, has anyone else written utilities like this?  Is there  
> any documentation on the inner workings of an OG file?  I'm still  
> using OG 4, as I am not ready to leave Tiger yet.  Will this concept  
> work with OG 5?


The Omnigraffle 5 file format is Apple plist file format - a flavour  
of xml. I've done quite a lot of work in generating Omnigraffle files  
using a combination of AppleScript and xslt. and converting them to  
other xml formats, again using xslt.

For me the main challenge is working with the AppleScript dictionary  
documentation, which is delphic in places.


Ian.
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.