This document is archived and information here might be outdated.  Recommended version.


IMdModel Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IM > IMdModel Interface
ArcGIS Developer Help

IMdModel Interface

Provides access to properties/methods of a model.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method AddElement Adds the given element to the model.
Method AddElements Adds the collection of elements to the model.
Method CanAddElement Returns whether or not the given model element can be added to the model.
Method CreateUniqueElementName Generates a new unique name that may be used for adding a new model element to the model.
Method DeleteElement Removes the given element from the model.
Method DisconnectElements Removes the connection/dependency between two model elements.
Method Empty Removes all model elements from the model.
Read/write property EnvironmentManager The set of overriding environment values used when validating/executing the model.
Method Execute Executes all the processes in the model.
Method ExecuteProcess Executes a single process in the model.
Method FindDependents Returns all the model elements dependent on the given model element in the given direction of the given connection type.
Method GetElement Returns the model element with the given name.
Method GetElementByID Returns the model element with the given identifier.
Method GetElements Returns all of the model elements in the model.
Method GetProcesses Returns all of the processes in the model.
Method GetVariables Returns all of the variables in the model.
Method IsLicensed Returns whether or not all the processes in the model are licensed.
Method IsValid Returns whether or not all the model elements in the model are valid.
Method MergeElements Merges the given enumeration of model elements, commonly from another model, into the current model.
Read/write property Name Name of the model.
Method SortElements Returns all the model elements in the model in sorted order.
Method TraceDependents Returns all the model elements dependent on the given model element in the given direction.
Method Validate Validates all model elements in the model.
Method VerifyUniqueElementName Returns whether or not the model already contains a model element by the given name.

Classes that implement IMdModel

Classes Description
MdModel A collection of model variables and processes, used to execute multiple geoprocessing tools in some order.