Click or drag to resize

StructuralStorey Class

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

Object that represents a storey in a building
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.BaseStructuralAnalysisObjectBase
    ModelExchanger.AnalysisDataModel.StructuralElementsStructuralStorey

Namespace:  ModelExchanger.AnalysisDataModel.StructuralElements
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class StructuralStorey : StructuralAnalysisObjectBase, 
	IEquatable<StructuralStorey>

The StructuralStorey type exposes the following members.

Constructors
  NameDescription
Public methodStructuralStorey
Create a new storey with a given height
Top
Properties
  NameDescription
Public propertyHeightLevel
The height of the storey, from the horizontal plane of the Global Coordinate System. A value of zero indicates that the height level is the horizontal plane of the Global Coordinate System
Public propertyId
The ID of the Analysis object. Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.)
Public propertyName
The name of the Analysis object. Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.)
Top
Methods
Events
  NameDescription
Public eventPropertyChanged (Inherited from StructuralAnalysisObjectBase.)
Top
Examples
Creating an instance
using System;
using System.Collections.Generic;
using ModelExchanger.AnalysisDataModel.Models;
using ModelExchanger.AnalysisDataModel.StructuralElements;
using UnitsNet;

namespace ModelExchanger.AnalysisDataModel.Example.StructuralElements
{
    public sealed class StructuralStoreyExample : BaseExample<StructuralStorey>
    {
        protected override IReadOnlyCollection<StructuralStorey> CreateAnalysisObjects(AnalysisModel model)
        {
            return new[]
            {
                new StructuralStorey(Guid.NewGuid(), "Ground floor", Length.Zero),
                new StructuralStorey(Guid.NewGuid(), "First floor", Length.FromMeters(3.6D))
            };
        }
    }
}
See Also