OOF2: The Manual
Name
OOF.LoadData.Material — Load Materials from a data file.
Synopsis
OOF.LoadData.Material(name, properties)
Details
- Parent Menu: OOF.LoadData
-
Callback: function
loadMaterialin moduleooflib.engine.IO.materialmenu -
Parameters:
name- Name of the material. Type: A character string.
properties- Properties for the material. Type: A list of character strings.
Description
Load Materials definitions from a data file. Data files
containing Materials are created by the commands Materials,
Microstructure,
Skeleton,
and Mesh
in the OOF.File.Save menu.
The properties argument is a list of names of
Properties. They must either have been defined with a OOF.LoadData.Property command in the data file,
or already in existence when the data file was read.
This command is only used in data files and is not invoked directly by the OOF2 user interface.



