AddInteriorLayer
bool AddInteriorLayer(this CompoundStructure cs, double thickness, MaterialFunctionAssignment function, ElementId materialId)Adds a new layer to the interior side (last position) (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.AddInteriorLayer(0.05, MaterialFunctionAssignment.Finish2, mat.Id);