Class MEPModel
- Namespace
- OpenMEPRevit.ConnectorManager
- Assembly
- OpenMEPRevit.dll
Supports all MEP models that are persistent within the Autodesk Revit project.
public class MEPModel
- Inheritance
-
MEPModel
- Inherited Members
Methods
ConnectorManager(MEPModel?)
Retrieves the Connector Manager from this MEPModel.
public static ConnectorManager? ConnectorManager(MEPModel? mepModel)
Parameters
mepModel
MEPModelAutodesk.Revit.DB.MEPModel
Returns
- ConnectorManager
ConnectorManager
Examples
GetAssignedElectricalSystems(MEPModel?)
Retrieves the electrical systems this electrical panel currently is assigned to.
public static List<Element?> GetAssignedElectricalSystems(MEPModel? mepModel)
Parameters
mepModel
MEPModel
Returns
- List<Element>
assignedElectricalSystems
Examples
Remarks
This property returns a set of Electrical Systems. If there are no electrical systems created for this model, this property will be an empty set. This method supersedes an older AssignedElectricalSystems property which has been deprecated.
GetElectricalSystems(MEPModel?)
Retrieves the electrical systems that are currently created using this MEPModel.
public static List<Element?> GetElectricalSystems(MEPModel? mepModel)
Parameters
mepModel
MEPModel
Returns
- List<Element>
electricSystems
Examples
Remarks
This property returns a set of Electrical Systems. If there are no electrical systems created for this model, this property will be an empty set. This method supersedes an older ElectricalSystems property which has been deprecated.
PartType(MEPModel)
The part type of the mechanical fitting.
public static dynamic? PartType(MEPModel mepModel)
Parameters
mepModel
MEPModelAutodesk.Revit.DB.MEPModel
Returns
- dynamic
part type