Delete the MassLevelData (Mass Floor) that associates a Level with a mass instance.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static void RemoveMassLevelDataFromMassInstance(
Document document,
ElementId massInstanceId,
ElementId levelId
)
Parameters
- document Document
-
The Document.
- massInstanceId ElementId
-
The ElementId of the mass instance.
- levelId ElementId
-
The ElementId of the Level to disassociate from the mass instance.
Exceptions
Remarks
Alternatively, you could just delete the MassLevelData.
See Also
Reference