Get the total occupiable floor area represented by a mass instance.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static double GetGrossFloorArea(
Document document,
ElementId massInstanceId
)
Parameters
- document Document
-
The Document.
- massInstanceId ElementId
-
The ElementId of the mass instance.
Return Value
Double
The gross floor area in square feet.
Exceptions
Remarks
The area is computed from the cross sections that are created by intersecting the
associated Levels with the mass instance Geometry.
See Also
Reference