Click or drag to resize

StructuralCompoundCrossSection Class

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

Defines a compound cross section
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.BaseStructuralAnalysisObjectBase
    ModelExchanger.AnalysisDataModel.LibrariesStructuralCrossSection
      ModelExchanger.AnalysisDataModel.LibrariesStructuralCompoundCrossSection

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

The StructuralCompoundCrossSection type exposes the following members.

Constructors
  NameDescription
Public methodStructuralCompoundCrossSection
Creates a cross section which is compound
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 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 propertyParameters
Represents dimensions of the cross-section.
Public propertyCode exampleProfile
Defines name of the industrially manufactured profile in the globally common format (naming).
Public propertyShape
This field defines the geometrical shape of the cross-section
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(StructuralCompoundCrossSection)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(StructuralCrossSection)
Indicates whether the current object is equal to another object of the same type.
(Inherited from StructuralCrossSection.)
Public methodGetHashCode
Retrieves the hashcode of the object
(Overrides StructuralCrossSectionGetHashCode.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from StructuralAnalysisObjectBase.)
Top
Fields
  NameDescription
Public fieldStatic memberAllowedProfileLibraryIds
Defines the list of allowed ProfileLibraryId values for this type of cross section
Top
Examples
Creating an instance
/// <summary>
/// Create compound cross sections
/// </summary>
/// <param name="materials">The available materials from the model</param>
/// <returns>A collection of compound cross sections</returns>
private IReadOnlyCollection<StructuralCrossSection> CreateCompoundCrossSections(
    IReadOnlyDictionary<string, StructuralMaterial> materials)
{
    StructuralMaterial mat1 = materials["MAT1"];

    return new StructuralCrossSection[]
    {
        new StructuralCompoundCrossSection(Guid.NewGuid(), "CS30", mat1, ProfileLibraryId.DoubleISection, new[]
        {
            Length.FromMillimeters(190D),
            Length.FromMillimeters(200D),
            Length.FromMillimeters(200D),
            Length.FromMillimeters(10D),
            Length.FromMillimeters(10D),
            Length.FromMillimeters(6.5D),
        }, "HEA200")
    };
}
See Also