public override void writer(MFileObject file, string optionsString, FileAccessMode mode) { if (mode == FileAccessMode.kExportActiveAccessMode) { StaticObject scb = StaticObject.Create(); scb.WriteSCB(file.expandedFullName); } else { MGlobal.displayError("SCBExporter - Wrong File Access Mode: " + mode); } }