InsertLayerAfterCore
bool InsertLayerAfterCore(this CompoundStructure cs, double thickness, MaterialFunctionAssignment function, ElementId materialId)Inserts a layer after the core boundary (interior side of core).
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.InsertLayerAfterCore(0.05, MaterialFunctionAssignment.Membrane, ElementId.InvalidElementId);