GetThicknessByFunction
double GetThicknessByFunction(this CompoundStructure cs, MaterialFunctionAssignment function)Gets the combined thickness of layers with a specific function.
Parameters
- csCompoundStructure
The compound structure.
- functionMaterialFunctionAssignment
Layer function to sum.
Returns: Total thickness for that function (feet).
Example
double t = cs.GetThicknessByFunction(MaterialFunctionAssignment.Finish1);