Click or drag to resize

StructuralManufacturedCrossSection Class

[This is preliminary documentation and is subject to change.]

Defines a manufactured cross section
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.BaseStructuralAnalysisObjectBase
    ModelExchanger.AnalysisDataModel.LibrariesStructuralCrossSection
      ModelExchanger.AnalysisDataModel.LibrariesStructuralManufacturedCrossSection

Namespace:  ModelExchanger.AnalysisDataModel.Libraries
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class StructuralManufacturedCrossSection : StructuralCrossSection, 
	IEquatable<StructuralManufacturedCrossSection>, IStructuralCrossSectionWithFormCode, IStructuralCrossSectionWithDescriptionId, IStructuralCrossSectionWithProfile, 
	IStructuralCrossSectionWithDefinition

The StructuralManufacturedCrossSection type exposes the following members.

Constructors
  NameDescription
Public methodStructuralManufacturedCrossSection
Create a cross section which is manufactured
Top
Properties
  NameDescription
Public propertyCrossSectionalProperties
Additional properties which define the cross section
(Inherited from StructuralCrossSection.)
Public propertyCrossSectionType
Defines the type of cross section
(Inherited from StructuralCrossSection.)
Public propertyDefinition
Defines the polygons for the profile shape of a cross section
Public propertyDescriptionId
The description of the hot rolled and cold formed cross-section referring to the source of manufacturer.
Public propertyFormCode
Helps to define hot rolled or cold formed profiles. The shape of the cross-section is uniquely identified by a so-called FormCode. The FormCode defines the shape and in some cases also additional parameters like distance between bolt holes, unit warping coordinates etc.
Public propertyId
The ID of the Analysis object. Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.)
Public propertyMaterial
The material out of which the Cross Section exists.
(Inherited from StructuralCrossSection.)
Public propertyName
The name of the Analysis object. Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.)
Public propertyCode exampleProfile
Defines name of the industrially manufactured profile in the globally common format (naming).
Public propertyStructuralName
The name of the cross section in a Structural Model to which this cross section is mapped.
(Inherited from StructuralCrossSection.)
Top
Methods
  NameDescription
Public methodEquals(Object)
Check if this object is the same as the provided object.
(Overrides StructuralCrossSectionEquals(Object).)
Public methodEquals(StructuralAnalysisObjectBase)
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.)
Public methodEquals(StructuralCrossSection)
Indicates whether the current object is equal to another object of the same type.
(Inherited from StructuralCrossSection.)
Public methodEquals(StructuralManufacturedCrossSection)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Retrieves the hashcode of the object
(Overrides StructuralCrossSectionGetHashCode.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from StructuralAnalysisObjectBase.)
Top
Examples
Creating an instance
/// <summary>
/// Create manufactured cross sections used throughout the model
/// </summary>
/// <param name="materials">The available materials from the model</param>
/// <returns>A collection of manufactured cross sections</returns>
private IReadOnlyCollection<StructuralCrossSection> CreateManufacturedCrossSections(
    IReadOnlyDictionary<string, StructuralMaterial> materials)
{
    StructuralMaterial mat4 = materials["MAT4"];

    return new StructuralCrossSection[]
    {
        new StructuralManufacturedCrossSection(Guid.NewGuid(), "CS26", mat4, "IPE180", FormCode.ISection,
            DescriptionId.EuropeanIBeam),
        new StructuralManufacturedCrossSection(Guid.NewGuid(), "CS27", mat4, "IPE180", FormCode.ISection,
            DescriptionId.EuropeanIBeam),
        new StructuralManufacturedCrossSection(Guid.NewGuid(), "CS28", mat4, "IPE180", FormCode.ISection,
            DescriptionId.EuropeanIBeam),
        new StructuralManufacturedCrossSection(Guid.NewGuid(), "CS282", mat4, "IPE180", FormCode.ISection, DescriptionId.EuropeanIBeam)
        {
            Definition = new CompositeProfileDefinition("IPE180Custom", new []
            {
                new PolygonDefinition(mat4, new []
                {
                    new Point2D(Length.FromCentimeters(20), Length.FromCentimeters(20)),
                    new Point2D(Length.Zero, Length.FromCentimeters(20)),
                    new Point2D(Length.Zero, Length.Zero),
                    new Point2D(Length.FromCentimeters(20), Length.Zero)
                })
            })
        }
    };
}
See Also