Interface ILayerByBarCount
A reinforcement layer defined by the number of bundles or single bars in the layer.
Inherited Members
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
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.
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. |