OOF2: The Manual

Name

Assign Material (AssignMaterial) — Assign a Material to elements. This is *optional*, and overrides Material assignments from the Microstructure.

Synopsis

AssignMaterial(material,target)

Details

  • Base class: MeshModification
  • Parameters:

    material
    Material to assign to the elements. Type: A character string.
    target
    Which elements to assign the Material to. Type: An object of the MeshModTargets class.

Description

AssignMaterial is a MeshModification subclass, used as the modifier argument to the OOF.Mesh.Modify command. It explicitly assigns a Material to Mesh elements. This overrides the implicit Material assignments from the Mesh's Microstructure and Skeleton.

It should usually be unnecessary to explicitly assign Materials to a Mesh. OOF2 data files created by the oof part of OOF1 use AssignMaterial command because OOF1's oof doesn't have a concept of Microstructure or Skeleton.

The material parameter must be the name of an existing Material. The target parameter specifies to which elements the Material will be assigned.


/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */