#### IfcMlsTotalThickness

##### Semantic definitions at the function

Function Definition

Function Semantic Definition Calculates the total thickness of a material layer set.

##### Formal representations

EXPRESS Specification

FUNCTION IfcMlsTotalThickness
(LayerSet : IfcMaterialLayerSet) : IfcLengthMeasure;
LOCAL
Max : IfcLengthMeasure := LayerSet.MaterialLayers[1].LayerThickness;
END_LOCAL;
IF SIZEOF(LayerSet.MaterialLayers) > 1 THEN
REPEAT i := 2 TO HIINDEX(LayerSet.MaterialLayers);
Max := Max + LayerSet.MaterialLayers[i].LayerThickness;
END_REPEAT;
END_IF;
RETURN (Max);
END_FUNCTION;

Link to this page