Importing Shapes
Kevin Steele
kevin at omnigroup.com
Thu Jan 17 13:46:44 PST 2002
Hi Robb,
All of the OmniGraffle shapes (except for rounded rectangles) and all of
the line endings are defined in the file
OmniGraffle.app/Contents/Resources/shape.graffleshapes
It's a text readable file if you want to take a look at it. You can
also view it with /Developer/Applications/PropertyListEditor.app.
When OmniGraffle is launched, it also looks for shape files in
~/Library/Application Support/OmniGraffle/Shapes
Any additional shapes and arrowheads will show up on the shape and line
info panes.
Here's the test file I've been using: (it defines a 4 sided polygon and
a line ending with 2 bars)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.graffleshapes
Type: application/octet-stream
Size: 1250 bytes
Desc: not available
Url : /mailman/archive/omnigraffle-users/attachments/20020117/3162cec5/Test.obj
-------------- next part --------------
I did find a bug while writing this up. There is a field in each
shape/line end definition
ShouldExport = YES;
This tells OmniGraffle to include the definitions in any saved documents
so that files sent elsewhere will still show the shapes correctly.
Unfortunately there is a bug in the current beta and the custom shape
definitions are not getting included in saved documents. I'm not sure
if the fix will make it into 2.0 Beta v4, or if it will have to wait for
v5.
We're also working on a tool for making your own shapes and line endings.
- Kevin
On Monday, January 14, 2002, at 04:05 PM, Robb Beal wrote:
> Folks.
>
> Is there a vector format where I can import a shape and the line
> endpoints
> will follow the shape outline, ie, like the built-in shapes?
>
> Robb
>
> _______________________________________________
> OmniGraffle-Users mailing list
> OmniGraffle-Users at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/omnigraffle-users
>
>
More information about the OmniGraffle-Users
mailing list