I tried this:
#target framemaker
var doc = app.ActiveDoc;
var fmt = doc.GetNamedGraphicFmt("Test");
alert (fmt);
but it doesn't work. The omv.xml file for the Object Model Viewer is for FrameMaker 10. FrameScript supports the GraphicFmt object, but I don't think ExtendScript does.
Rick