The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Shape with different borders Thread Tools Search this Thread Display Modes
Hi,

I want to make the following shape:

Code:
   +---------------+
   |               |
   |               |
   +===============+
So a filled area where one border has a different style than the others.

The only way OmniGraffle can do that is to make two or more objects: one shape object for the fill area, and at least one line object for the border.

Now, I have quite a few of these objects, and like to have a script that generates this accordingly.

I just tried the following route:
* Make a shape in Omnigraffle, export this to SVG
* Script to create an additional border in SVG
* Import into Visio using Parallels (*)
* Export to Visio XML Drawing
* Import in OmniGraffle

Unfortunately, this fails. The imported lines and shapes are no longer editable in OmniGraffle (just like an imported PDF is no longer editable in OmniGraffle).

What would be a good way forward here? I know that OmniGraffle supports AppleScript, but I doubt that it is powerfull enough to this specific task. I have (or at least, I can make) a text file with the coordinates of all shapes. My biggest preferences is to do this all by script.

In fact, that's why I was looking at SVG, because it is dead simple to generate a SVG file from script. I just looked at the native .graffle format used by OmniGraffle Pro, but the problem is that the line and shape objects really look different in the Property List, also I'm not fond of generating or editing plists.

Any suggestions?

(of course I already suggested a SVG import function to the great people at OmniGroup).
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I convert a shape? Sophie OmniGraffle General 1 2010-05-03 11:09 AM
Setting Preferences/Defaults & Table borders abloodworth OmniGraffle General 0 2010-04-23 11:21 AM
Get rid of page borders zeeawk OmniGraffle General 1 2009-09-20 12:26 PM
Fills overlapping borders ddefenba OmniGraffle General 3 2009-01-12 01:54 PM
How to name a shape? markacruciani OmniGraffle General 2 2008-06-25 05:55 PM


All times are GMT -8. The time now is 06:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.