Interface IBarBundle
A bar bundle is defined by bar diameter, material and number of bars in the bundle. It can have one to four reinforcement bars.
See Glossary
Namespace: Oasys.AdSec.Reinforcement
Assembly: AdSec_API_IDL.dll
Syntax
public interface IBarBundleProperties
CountPerBundle
The number of reinforcement bars per bundle.
Declaration
int CountPerBundle { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentException | When number of bars per bundle is less than one or greater than four. | 
Diameter
The diameter of reinforcement bar.
Declaration
Length Diameter { get; set; }Property Value
| Type | Description | 
|---|---|
| OasysUnits.Length | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentException | When the diameter is not a positive and finite value. | 
Material
The material of reinforcement bar.
Declaration
IReinforcement Material { get; set; }Property Value
| Type | Description | 
|---|---|
| IReinforcement | 
Methods
Create(IReinforcement, Length)
Creates a new single-bar IBarBundle from a material and diameter.
Declaration
static IBarBundle Create(IReinforcement material, Length diameter)Parameters
| Type | Name | Description | 
|---|---|---|
| IReinforcement | material | Defines the reinforcement bar's material. | 
| OasysUnits.Length | diameter | Defines the reinforcement bar's diameter. | 
Returns
| Type | Description | 
|---|---|
| IBarBundle | 
Remarks
The CountPerBundle will be initialised to one.
Create(IReinforcement, Length, Int32)
Creates a new multi-bar IBarBundle from a material, diameter of each bar and the number of bars in the bundle.
Declaration
static IBarBundle Create(IReinforcement material, Length diameter, int countPerBundle)Parameters
| Type | Name | Description | 
|---|---|---|
| IReinforcement | material | Defines the reinforcement bar's material. | 
| OasysUnits.Length | diameter | Defines the reinforcement bar's diameter. | 
| System.Int32 | countPerBundle | Defines the number of bars in the bundle. | 
Returns
| Type | Description | 
|---|---|
| IBarBundle |