ModelInformation Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel
public sealed class ModelInformation : StructuralAnalysisObjectBase, IAnalysisInformationObject, IAnalysisObject, IEquatable<ModelInformation>
The ModelInformation type exposes the following members.
Name | Description | |
---|---|---|
![]() | ModelInformation |
Create a model
|
Name | Description | |
---|---|---|
![]() | Created |
The date and time at which the model is created.
Defaults to current UTC time.
|
![]() | Description |
The description of the model
|
![]() ![]() | Discipline |
The discipline of the model
|
![]() | GlobalCoordinateSystem |
Determines how the direction of the Z-axis is defined for this model
|
![]() | Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) |
![]() | IgnoredGroups |
Types that should be excluded from deletion during update in Scia engineer
if the list is empty: this property has no effect
if the list is not-empty: types that are in list will be excluded from deletion
|
![]() | IgnoredObjects |
Types that should be excluded from deletion during update in Scia engineer
if the list is empty: this property has no effect
if the list is not-empty: types that are in list will be excluded from deletion
|
![]() | LastUpdate |
The date and time at which the model was last updated.
Defaults to current UTC time.
|
![]() ![]() | LevelOfDetail |
The level of detail (LoD) of the model.
|
![]() | LocalCoordinateSystem |
Determines how the local coordinate system is defined for this model.
|
![]() | Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) |
![]() | NationalCode |
The national code used for structural analysis
|
![]() ![]() | Owner |
The owner of the model
|
![]() ![]() | RevisionNumber |
The revision number of the model
|
![]() ![]() | SourceApplication |
The application from which the model originated
|
![]() ![]() | SourceCompany |
The company from which the model originated
|
![]() ![]() | SourceType |
The type of application from which the model originated.
|
![]() | Status |
The status of the model.
|
![]() | SystemOfUnits |
Determines in which units the values are expressed throughout the model
|
Name | Description | |
---|---|---|
![]() | Equals(ModelInformation) | Indicates whether the current object is equal to another object of the same type. |
![]() | Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).) |
![]() | Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) |
![]() | GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralAnalysisObjectBaseGetHashCode.) |
![]() | Rename |
Renames the ModelInformation to the given value
|
Name | Description | |
---|---|---|
![]() | PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
Name | Description | |
---|---|---|
![]() | ToObjectIdentifier |
Converts the provided IAnalysisObject into an AnalysisObjectIdentifier (Defined by IAnalysisObjectExtensions.) |
using System; using System.Collections.Generic; using ModelExchanger.AnalysisDataModel.Enums; using ModelExchanger.AnalysisDataModel.Models; namespace ModelExchanger.AnalysisDataModel.Example.Other { public sealed class ModelInformationExample : BaseExample<ModelInformation> { protected override IReadOnlyCollection<ModelInformation> CreateAnalysisObjects(AnalysisModel model) { return new[] { new ModelInformation(Guid.NewGuid(), "My example model") { Description = "This is an example model", Created = new DateTime(2020, 1, 1, 9, 0, 0, DateTimeKind.Utc), LastUpdate = DateTime.UtcNow, GlobalCoordinateSystem = GlobalCoordinateSystem.ZVertical, LocalCoordinateSystem = LocalCoordinateSystem.ZYX, Owner = "SCIA nv", SourceApplication = "SCIA Engineer", SourceCompany = "SCIA nv", RevisionNumber = "Rev. 1", SourceType = "Structural Analysis Software", Status = "Pending", SystemOfUnits = SystemOfUnits.Metric, LevelOfDetail = "LOD100", Discipline = "Structural Analysis" }, }; } } }