Export() public method

public Export ( ) : void
return void
Beispiel #1
0
 public static void SaveModel(Root model, string outputPath, Exporter exporter)
 {
     exporter.Options.InputPath = null;
     exporter.Options.Input = model;
     exporter.Options.OutputPath = outputPath;
     exporter.Export();
 }
Beispiel #2
0
 private void saveOutputBtn_Click(object sender, EventArgs e)
 {
     var exporter = new Exporter();
     UpdateExporterSettings(exporter.Options);
     try
     {
         exporter.Export();
         MessageBox.Show("Export completed successfully.");
     }
     catch (Exception exc)
     {
         GR2ConversionError(exporter.Options.InputPath, exporter.Options.OutputPath, exc);
     }
 }