Interface ISingleBars
A reinforcement group contains a singe bar bundle located on the profile at one or more positions.
Namespace: Oasys.AdSec.Reinforcement.Groups
Assembly: AdSec_API_IDL.dll
Syntax
public interface ISingleBars : ILongitudinalGroup, IGroup
Examples
using Oasys.AdSec.Reinforcement;
using Oasys.AdSec.Reinforcement.Groups;
using Oasys.AdSec.Materials;
using Oasys.AdSec.StandardMaterials;
using Oasys.Profiles;
using OasysUnits;
IReinforcement reinforcementMaterial = Reinforcement.Steel.ACI318.Edition_2002.Metric.Grade_420;
Length diameter = Length.FromMillimeters(20);
IBarBundle barBundle = IBarBundle.Create(reinforcementMaterial, diameter);
ISingleBars singleBars = ISingleBars.Create(barBundle);
singleBars.Positions.Add(IPoint.Create(Length.FromMillimeters(0), Length.FromMillimeters(0)));
singleBars.Positions.Add(IPoint.Create(Length.FromMillimeters(100), Length.FromMillimeters(100)));
Example creating reinforcement with ISingleBars.
Properties
BarBundle
The bar (or bundle of bars) that will be placed at each position.
Declaration
IBarBundle BarBundle { get; set; }
Property Value
Type | Description |
---|---|
IBarBundle |
Positions
The positions for the BarBundles.
Declaration
IList<IPoint> Positions { get; set; }
Property Value
Type | Description |
---|---|
IList<IPoint> |
Methods
Create(IBarBundle)
Creates a new ISingleBars reinforcement group from its BarBundle.
Declaration
static ISingleBars Create(IBarBundle barBundle)
Parameters
Type | Name | Description |
---|---|---|
IBarBundle | barBundle | Defines the bar (or bundle of bars) that will be placed at each position. |
Returns
Type | Description |
---|---|
ISingleBars | Reinforcement group with empty list of Positions. Reinforcement bars are added to the group on adding positions. |