Search Results for

    Show / Hide Table of Contents

    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

    The material used for the Profile.

    See Glossary

    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

    • C#
    • Python
    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.

    import oasys.adsec
    from OasysUnits import Length
    from OasysUnits.Units import LengthUnit
    from Oasys.AdSec import StandardMaterials, ISection, ISubComponent
    from Oasys.Profiles import IRectangleProfile, ICatalogueProfile, IPoint
    # Create a rectangular profile with a depth of 1000mm and width 600mm
    depth = Length(float(1000), LengthUnit.Millimeter)
    width = Length(float(600), LengthUnit.Millimeter)
    profile = IRectangleProfile.Create(depth, width)
    
    # Create a concrete section with the created profile.
    section = ISection.Create(profile, StandardMaterials.Concrete.IS456.Edition_2000.M20)
    
    # Create a catalogue steel section
    catalogueProfile = ICatalogueProfile.Create("CAT ISMB ISMB500")
    subComponentSection = ISection.Create(
    catalogueProfile, StandardMaterials.Steel.IS800.Edition_1984.FY_250
    )
    
    # Add the catalogue steel section as subcomponent of the main section
    offset = IPoint.Create(Length.Zero, Length(float(-100), LengthUnit.Millimeter))
    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.

    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