Click or drag to resize

IStructuralAnalysisModelQueryOfTypeTStructuralAnalysisObject Method

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

Retrieve a list of the given TStructuralAnalysisObject from the provided model

Namespace:  ModelExchanger.AnalysisDataModel.Contracts
Assembly:  ModelExchanger.AnalysisDataModel.Contracts (in ModelExchanger.AnalysisDataModel.Contracts.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
IReadOnlyList<TStructuralAnalysisObject> OfType<TStructuralAnalysisObject>(
	StructuralAnalysisModel model
)
where TStructuralAnalysisObject : IStructuralAnalysisObject

Parameters

model
Type: ModelExchanger.AnalysisDataModel.ModelsStructuralAnalysisModel
The model to retrieve the objects from

Type Parameters

TStructuralAnalysisObject
The type of objects to retrieve. Has to implement IStructuralAnalysisObject

Return Value

Type: IReadOnlyListTStructuralAnalysisObject
See Also