Bases: misctools.base.Validable
Creates a new Layer. Layers are used by GrainBoundaries and MultiLayers. A layer is defined by a thickness and a material.
Parameters: |
|
---|
Returns whether a thickness was specified by the user.
Id of the Material for this layer. The id shall correspond to the id of the material in Materials. The id must be positive.
Thickness of the layer (cm). The thickness must be greater than zero. If the attribute is deleted, the thickness is assumed to be infinite. The value is stored in a magnitude.Magnitude.
Returns a HTML representation of this option.
Returns a XML representation of this option.
Bases: exceptions.Exception
Exception raised when trying to delete a required layer.
Bases: exceptions.Exception
Exception raised when trying to delete a required layer.