AddExteriorLayer
bool AddExteriorLayer(this CompoundStructure cs, double thickness, MaterialFunctionAssignment function, ElementId materialId)Adds a new layer to the exterior side (index 0) (remember to reassign back to the type).
Parameters
- csCompoundStructure
The compound structure.
- thicknessdouble
Layer thickness in feet.
- functionMaterialFunctionAssignment
Layer function.
- materialIdElementId
Material id (or InvalidElementId).
Returns: True if successful; otherwise false.
Example
cs.AddExteriorLayer(0.1, MaterialFunctionAssignment.Finish1, mat.Id);