StructuralManufacturedCrossSection Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Libraries
public sealed class StructuralManufacturedCrossSection : StructuralCrossSection, IEquatable<StructuralManufacturedCrossSection>, IStructuralCrossSectionWithFormCode, IStructuralCrossSectionWithDescriptionId, IStructuralCrossSectionWithProfile, IStructuralCrossSectionWithDefinition
The StructuralManufacturedCrossSection type exposes the following members.
Name | Description | |
---|---|---|
StructuralManufacturedCrossSection |
Create a cross section which is manufactured
|
Name | Description | |
---|---|---|
CrossSectionalProperties |
Additional properties which define the cross section
(Inherited from StructuralCrossSection.) | |
CrossSectionType |
Defines the type of cross section
(Inherited from StructuralCrossSection.) | |
Definition |
Defines the polygons for the profile shape of a cross section
| |
DescriptionId |
The description of the hot rolled and cold formed cross-section referring to the source of manufacturer.
| |
FormCode |
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.
| |
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
Material |
The material out of which the Cross Section exists.
(Inherited from StructuralCrossSection.) | |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
Profile |
Defines name of the industrially manufactured profile in the globally common format (naming).
| |
StructuralName |
The name of the cross section in a Structural Model to which this cross section is mapped.
(Inherited from StructuralCrossSection.) |
Name | Description | |
---|---|---|
Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralCrossSectionEquals(Object).) | |
Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
Equals(StructuralCrossSection) | Indicates whether the current object is equal to another object of the same type. (Inherited from StructuralCrossSection.) | |
Equals(StructuralManufacturedCrossSection) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralCrossSectionGetHashCode.) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
/// <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) }) }) } }; }