OOF2: The Manual

Name

OOF.File.Save.Microstructure — Save a Microstructure in a file.

Synopsis

OOF.File.Save.Microstructure(filename,mode,format,microstructure)

Details

  • Parent Menu: OOF.File.Save
  • Callback: function saveMicrostructure in module ooflib.common.IO.microstructuremenu
  • Options: disabled=1
  • Parameters:

    filename
    Name of the file. Type: A character string.
    mode
    write or append? Type: An object from the WriteMode enumerated class.
    format
    File format. Type: An object from the DataFileFormat enumerated class.
    microstructure
    Type: The path to an existing Microstructure object.

Description

Store a Microstructure in a file in one of several formats. The file can be reloaded by OOF.File.Load.Script or OOF.File.Load.Data, depending on the file format.