Click or drag to resize

StructuralLoadCombinationData Class

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

Object used to hold information about a StructuralLoadCase used in a StructuralLoadCombination
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.SubtypesStructuralLoadCombinationDataBaseStructuralLoadCase
    ModelExchanger.AnalysisDataModel.SubtypesStructuralLoadCombinationData

Namespace:  ModelExchanger.AnalysisDataModel.Subtypes
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class StructuralLoadCombinationData : StructuralLoadCombinationDataBase<StructuralLoadCase>

The StructuralLoadCombinationData type exposes the following members.

Constructors
  NameDescription
Public methodStructuralLoadCombinationData
Base class of an object that holds information about a load case which is part of a StructuralLoadCombination
Top
Properties
Methods
Examples
Creating an instance
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
                },
            };
        }
    }
}
See Also