/// <summary> /// When Rhino gets ready to display either the save or export file dialog, /// it calls AddFileType() once for each loaded file export plug-in. /// </summary> public override void AddFileType(ref ArrayMRhinoFileType extensions, ref IRhinoFileWriteOptions opts) { MRhinoFileType filetype = new MRhinoFileType(PlugInID(), "Sample Mesh (*.mesh)", "mesh"); extensions.Append(filetype); }