Click or drag to resize

IStructuralAnalysisModelQueryOfTypeWithNameTStructuralAnalysisObject Method

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

Retrieve an object of the given TStructuralAnalysisObject which has the provided name 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#
TStructuralAnalysisObject OfTypeWithName<TStructuralAnalysisObject>(
	StructuralAnalysisModel model,
	string name
)
where TStructuralAnalysisObject : IStructuralAnalysisObject

Parameters

model
Type: ModelExchanger.AnalysisDataModel.ModelsStructuralAnalysisModel
The model to retrieve the object from
name
Type: SystemString
The name of the object to retrieve

Type Parameters

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

Return Value

Type: TStructuralAnalysisObject
See Also