Interface ISection
Represents a cross-section through a structural member of the specified material which can contain reinforcement. A section has a profile that describes its shape, size and orientation.
See Glossary
Namespace: Oasys.AdSec
Assembly: AdSec_API_IDL.dll
Syntax
public interface ISection
Properties
Cover
The cover to the reinforcement in the section (applicable for only concrete material).
See Glossary
Declaration
ICover Cover { get; set; }
Property Value
Type | Description |
---|---|
ICover |
Material
Declaration
IMaterial Material { get; set; }
Property Value
Type | Description |
---|---|
IMaterial |
Profile
The profile that describes the section's shape, size and orientation.
See Glossary
Declaration
IProfile Profile { get; set; }
Property Value
Type | Description |
---|---|
IProfile |
ReinforcementGroups
The groups of reinforcement in the section (applicable for only concrete material).
See Glossary
Declaration
IList<IGroup> ReinforcementGroups { get; set; }
Property Value
Type | Description |
---|---|
IList<IGroup> |
SubComponents
The sub-components contained within the section
See Glossary
using Oasys.AdSec;
using Oasys.Profiles;
using Oasys.AdSec.Materials;
using Oasys.AdSec.StandardMaterials;
using OasysUnits;
// Create a rectangular profile with a depth of 1000mm and width 600mm
Length depth = Length.FromMillimeters(1000);
Length width = Length.FromMillimeters(600);
IRectangleProfile profile = IRectangleProfile.Create(depth, width);
// Create a concrete section with the created profile.
IConcrete concreteMaterial = Concrete.IS456.Edition_2000.M20;
ISection section = ISection.Create(profile, concreteMaterial);
// Create a catalogue steel section
ICatalogueProfile catalogueProfile = ICatalogueProfile.Create("CAT ISMB ISMB500");
ISteel steelMaterial = Steel.IS800.Edition_1984.FY_250;
ISection subComponentSection = ISection.Create(catalogueProfile, steelMaterial);
// Add the catalogue steel section as subcomponent of the main section
IPoint offset = IPoint.Create(Length.Zero, Length.FromMillimeters(-100));
ISubComponent encasedSubComponent = ISubComponent.Create(subComponentSection, offset);
section.SubComponents.Add(encasedSubComponent);
Example for creating a compound section.
Declaration
IList<ISubComponent> SubComponents { get; set; }
Property Value
Type | Description |
---|---|
IList<ISubComponent> |
Methods
Create(IProfile, IMaterial)
Creates a new ISection.
Declaration
static ISection Create(IProfile profile, IMaterial material)
Parameters
Type | Name | Description |
---|---|---|
IProfile | profile | Defines the section's shape, size and orientation. |
IMaterial | material | Defines the section's material. |
Returns
Type | Description |
---|---|
ISection | Section with the specified profile and material. |