StructuralLoadCombinationData Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Subtypes
public sealed class StructuralLoadCombinationData : StructuralLoadCombinationDataBase<StructuralLoadCase>
The StructuralLoadCombinationData type exposes the following members.
Name | Description | |
---|---|---|
StructuralLoadCombinationData |
Base class of an object that holds information about a load case which is part of a StructuralLoadCombination |
Name | Description | |
---|---|---|
Factor |
The factor that will be applied to the load case
(Inherited from StructuralLoadCombinationDataBaseTReference.) | |
LoadCase |
The load case that is part of the combination
(Inherited from StructuralLoadCombinationDataBaseTReference.) | |
Multiplier |
The multiplier that will be applied to the load case
(Inherited from StructuralLoadCombinationDataBaseTReference.) |
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from StructuralLoadCombinationDataBaseTReference.) | |
Equals(StructuralLoadCombinationDataBaseTReference) | Indicates whether the current object is equal to another object of the same type. (Inherited from StructuralLoadCombinationDataBaseTReference.) | |
GetHashCode | Serves as the default hash function. (Inherited from StructuralLoadCombinationDataBaseTReference.) |
using System; using System.Collections.Generic; using System.Linq; using ModelExchanger.AnalysisDataModel.Enums; using ModelExchanger.AnalysisDataModel.Loads; using ModelExchanger.AnalysisDataModel.Models; using ModelExchanger.AnalysisDataModel.Subtypes; namespace ModelExchanger.AnalysisDataModel.Example.Loads { public sealed class StructuralLoadCombinationExample : BaseExample<StructuralLoadCombination> { protected override IReadOnlyCollection<StructuralLoadCombination> CreateAnalysisObjects(AnalysisModel model) { IReadOnlyDictionary<string, StructuralLoadCase> loadCases = model.OfType<StructuralLoadCase>().ToDictionary(x => x.Name, x => x); return new[] { new StructuralLoadCombination(Guid.NewGuid(), "CO1", LoadCaseCombinationCategory.AccidentalLimitState, new [] { new StructuralLoadCombinationData(loadCases["LC1"], 2.5D, 3D), new StructuralLoadCombinationData(loadCases["LC2"], 1, 2), }) { Description = "Load combination description" }, new StructuralLoadCombination(Guid.NewGuid(), "CO2", LoadCaseCombinationCategory.ServiceabilityLimitState, new [] { new StructuralLoadCombinationData(loadCases["LC1"], 1D, 1D), new StructuralLoadCombinationData(loadCases["LC2"], 2D, 1D), }) { Type = LoadCaseCombinationType.NonLinear }, }; } } }