View Single Post
While Diagram Style doesn't appear to be an accessible property of Document, Template is. It's cumbersome to set up, but you could make a template for each diagram style you'd like to use. (Template Chooser, New Template, Choose Diagram Style, Save.) After that you can say, for example,

tell application "OmniGraffle Professional 5"
set the template of the document of the first window to "Clouds"
end tell

(Note that you apparently need to relaunch OG before it can see new templates.)

Last edited by john.gersh; 2011-03-08 at 06:25 AM..