SetLayerThickness

bool SetLayerThickness(this CompoundStructure cs, int layerIndex, double thickness)

Sets the thickness of a specific layer (in feet) (remember to reassign back to the type).

Parameters

  • csCompoundStructure

    The compound structure.

  • layerIndexint

    The layer index.

  • thicknessdouble

    New thickness in feet (must be > 0).

Returns: True if successful; otherwise false.

Example

cs.SetLayerThickness(0, 0.5);