How to use .graffleshapes

Does anyone know how to place the .graffleshapes file so that OmniGraffle 7 for Mac will be able to read it? There’s a graffleshapes tutorial showing how to use it but it’s quite old and it no longer seems to work.

The main shapes.graffleshapes file is in Applications/OmniGraffle/Contents/Frameworks/GraffleShapes.framework/Versions/A/Resources and by modifying it you can make some changes but it doesn’t seem that you can insert your own shape.

I am trying to insert an open-sided box:

{
shapes = (
{
ShouldExport = YES;
InspectorGroup = 1;
ShapeName = OpenBox;
FillPath = {
elements = (
{element = MOVETO; point = “{-0.5, -0.5}”; },
{element = LINETO; point = “{0.5, -0.5}”; },
{element = LINETO; point = “{0.5, 0.5}”; },
{element = LINETO; point = “{-0.5, 0.5}”; },
{element = CLOSE; }
);
};
StrokePath = {
elements = (
{element = MOVETO; point = “{-0.5, -0.5}”; },
{element = LINETO; point = “{-0.5, 0.5}”; },
{element = LINETO; point = “{0.5, 0.5}”; },
{element = LINETO; point = “{0.5, -0.5}”; }
);
};
}
);
}

What happens when you do?

Turns out it actually does work.

I was accessing the shapes from the Stencils->Basic->Shapes. And they do not show up there.

The custom shapes show up when I simply hit the Shapes button in the Shapes inspector.

So now I can create custom shapes.