Click or drag to resize

IAnalysisModelServiceRemoveItemFromModel Method

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

Remove an IAnalysisObject from an AnalysisModel. An exception will be raised if the IAnalysisObject is being referenced by another IAnalysisObject

Namespace:  ModelExchanger.AnalysisDataModel.Contracts
Assembly:  ModelExchanger.AnalysisDataModel.Contracts (in ModelExchanger.AnalysisDataModel.Contracts.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
void RemoveItemFromModel(
	AnalysisModel model,
	IAnalysisObject item
)

Parameters

model
Type: ModelExchanger.AnalysisDataModel.ModelsAnalysisModel
The AnalysisModel from which the provided IAnalysisObject needs to be removed
item
Type: ModelExchanger.AnalysisDataModelIAnalysisObject
The IAnalysisObject to be removed from the provided AnalysisModel
See Also