StructuralCompoundCrossSection Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Libraries
public sealed class StructuralCompoundCrossSection : StructuralCrossSection, IEquatable<StructuralCompoundCrossSection>, IStructuralCrossSectionWithShape, IStructuralCrossSectionWithParameters, IStructuralCrossSectionWithProfile
The StructuralCompoundCrossSection type exposes the following members.
Name | Description | |
---|---|---|
StructuralCompoundCrossSection |
Creates a cross section which is compound
|
Name | Description | |
---|---|---|
CrossSectionalProperties |
Additional properties which define the cross section
(Inherited from StructuralCrossSection.) | |
CrossSectionType |
Defines the type of cross section
(Inherited from StructuralCrossSection.) | |
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.) | |
Parameters |
Represents dimensions of the cross-section.
| |
Profile |
Defines name of the industrially manufactured profile in the globally common format (naming).
| |
Shape |
This field defines the geometrical shape of the cross-section
| |
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(StructuralCompoundCrossSection) | Indicates whether the current object is equal to another object of the same type. | |
Equals(StructuralCrossSection) | Indicates whether the current object is equal to another object of the same type. (Inherited from StructuralCrossSection.) | |
GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralCrossSectionGetHashCode.) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
Name | Description | |
---|---|---|
AllowedProfileLibraryIds |
Defines the list of allowed ProfileLibraryId values for this type of cross section
|
/// <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") }; }