AnalysisModel Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Models
public sealed class AnalysisModel : IAnalysisModel<IAnalysisObject>, IReadOnlyCollection<IAnalysisObject>, IEnumerable<IAnalysisObject>, IEnumerable
The AnalysisModel type exposes the following members.
| Name | Description | |
|---|---|---|
| AnalysisModel |
Create an empty analysis model
|
| Name | Description | |
|---|---|---|
| Count |
Returns the count of objects currently in the model.
This includes the number of structural analysis objects, result objects, project information and model information.
| |
| Errors |
Contains all validation results which are errors
| |
| Infos |
Contains all validation results which are informational
| |
| ModelInformation |
Contains more information about the model
| |
| ProjectInformation |
Contains more information about the project
| |
| ResultsAnalysisModel |
Contains all Results objects
| |
| StructuralAnalysisModel |
Contains all Structural Analysis objects
| |
| ValidationResults |
Contains all validation results applicable to the current model
| |
| Warnings |
Contains all validation results which are warnings
|
| Name | Description | |
|---|---|---|
| EnforceModelValidity |
Enforces validity of the model. If it's not valid, an exception of type ModelExchangerException is thrown
| |
| GetEnumerator |
Returns an enumerator that allows the user to enumerate over all the objects in this model
| |
| GetValidationMessages |
Retrieves all the validation messages as a big string, grouped by identifier.
| |
| IsModelValid |
Returns whether this model is valid or not
|
| Name | Description | |
|---|---|---|
| ConvertToStringIAnalysisObject |
Converts an IEnumerableT into a string, with each item separated by separator (Defined by EnumerableExtensions.) | |
| OfTypeIAnalysisObject |
Filters the objects in data based on the provided type (Defined by EnumerableExtensions.) | |
| UnitsNetSequenceEqualsIAnalysisObject | (Defined by UnitsNetExtensions.) |