InsertLayerBeforeCore

bool InsertLayerBeforeCore(this CompoundStructure cs, double thickness, MaterialFunctionAssignment function, ElementId materialId)

Inserts a layer before the core boundary (exterior 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.InsertLayerBeforeCore(0.05, MaterialFunctionAssignment.Membrane, ElementId.InvalidElementId);