OOF2: The Manual
Name
OOF.LoadData.Microstructure.DefineCategory.Material — Assign a Material to a pixel category. Used internally in data files.
Synopsis
OOF.LoadData.Microstructure.DefineCategory.Material(microstructure,category,material)
Details
- Parent Menu: OOF.LoadData.Microstructure.DefineCategory
-
Callback: function
_readMSMaterialin moduleooflib.engine.IO.materialmenu -
Parameters:
microstructure- Type: The path to an existing
Microstructureobject. category- Category of pixels. Type: Integer.
material- Name of the Material. Type: A character string.
Description
Add a Material to a pixel category definition inside a
Microstructure data
file.
Example. The command
OOF.LoadData.Microstructure.DefineCategory.Material(microstructure='tiny3',
category=1, material='material1')
assigns the Material named “material1” to all
pixels in category 1 in the Microstructure named
“tiny3”.
This command is only used in data files.



