I found this online
and got most of it up and running, including updating the Swift syntax and renaming the OG object to their OmniGraffle6X names.
What I haven't been able to do is figure out how to set a fillColor on a shape, or get text from the Shapes label ,or set text on the shapes Label. Can you help me out here?
Also any reference to code or documentation for how to do scripting using Swift would be very helpful.
Here's my code. It crashes at the bottom of main.swift (it's a command line tool project)
Any help would be appreciated. I want to get really good at this and will publish results on swiftest.io and github to help other folks.