Skip to content

MEPModel

Public Class

Supports all MEP models that are persistent within the Autodesk Revit project.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.MEPModel

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class MEPModel : APIObject

The MEPModel type exposes the following members.

Properties

Name

Description


Public Property

Retrieves the Connector Manager from this MEPModel.


Public Property
Code Example

Identifies if the object is read-only or modifiable.
(Inherited from APIObject)


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method
Dispose

Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method
GetAssignedElectricalSystems

Retrieves the electrical systems this electrical panel currently is assigned to.


Public Method
GetElectricalSystems

Retrieves the electrical systems that are currently created using this MEPModel.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.MEPModel
Autodesk.Revit.DB.Electrical.ElectricalEquipment
Autodesk.Revit.DB.Electrical.LightingDevice
Autodesk.Revit.DB.Electrical.LightingFixture
Autodesk.Revit.DB.Mechanical.MechanicalEquipment
Autodesk.Revit.DB.Mechanical.MechanicalFitting