Search Results for

    Show / Hide Table of Contents

    Interface ILayerByBarCount

    A reinforcement layer defined by the number of bundles or single bars in the layer.

    Inherited Members
    ILayer.BarBundle
    Namespace: Oasys.AdSec.Reinforcement.Layers
    Assembly: AdSec_API_IDL.dll
    Syntax
    public interface ILayerByBarCount : ILayer
    Remarks

    ILayerByBarCount inherits ILayer.

    It defines a reinforcement layer by the number of bundles or single bars. The bundles or single bars are spaced out evenly over the available space.

    Examples
    • C#
    • Python
    using Oasys.AdSec.Materials;
    using Oasys.AdSec.StandardMaterials;
    using Oasys.AdSec.Reinforcement;
    using Oasys.AdSec.Reinforcement.Layers;
    using OasysUnits;
    // Create a reinforcement layer
    // with 3 bundles of 2 steel bars each and diameter 1 inch.
    IReinforcement material =
    Reinforcement.Steel.EN1992.Part1_1.Edition_2004.NationalAnnex.GB.Edition_2014.S500B;
    Length diameter = Length.FromInches(1);
    IBarBundle barBundle = IBarBundle.Create(material, diameter, 2);
    ILayerByBarCount layer = ILayerByBarCount.Create(3, barBundle);

    Example creating layer.

    import oasys.adsec
    from OasysUnits import Length
    from OasysUnits.Units import LengthUnit
    from Oasys.AdSec import StandardMaterials
    from Oasys.AdSec.Reinforcement import IBarBundle
    from Oasys.AdSec.Reinforcement.Layers import ILayerByBarCount
    # Create a reinforcement layer
    # with 3 bundles of 2 steel bars each and diameter 1 inch.
    material = (
    StandardMaterials.Reinforcement.Steel.EN1992.Part1_1.Edition_2004.NationalAnnex.GB.Edition_2014.S500B
    )
    diameter = Length(float(1), LengthUnit.Inch)
    barBundle = IBarBundle.Create(material, diameter, 2)
    layer = ILayerByBarCount.Create(3, barBundle)

    Example creating layer.

    Properties

    Count

    The number of bars in the layer.

    Declaration
    int Count { get; set; }
    Property Value
    Type Description
    System.Int32
    Exceptions
    Type Condition
    System.ArgumentException

    When the number of bars is not a positive and finite value.

    Methods

    Create(Int32, IBarBundle)

    Creates a new ILayerByBarCount from the position count and bar (or bundle of bars) to be placed at each position.

    Declaration
    static ILayerByBarCount Create(int count, IBarBundle barBundle)
    Parameters
    Type Name Description
    System.Int32 count

    Defines the number of bars in the layer.

    IBarBundle barBundle

    Defines the bar (or bundle of bars) that will be placed at each position.

    Returns
    Type Description
    ILayerByBarCount

    Reinforcement layer with the specified bar count and bar bundle.

    Exceptions
    Type Condition
    System.ArgumentException

    When the count is not a positive and finite value.

    See Also

    ILayer
    ILayerByBarPitch
    In This Article
    Back to top Copyright ©Oasys Limited 2021
    8 Fitzroy Street, London, W1T 4BJ
    Oasys Limited is registered in England and Wales № 01454051