Revit 2025 API
PolyloopCompute |
Gets the area for this polygon.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double ComputeArea()
Public Function ComputeArea As Double
public: double ComputeArea()
member ComputeArea : unit -> float
Return Value
DoubleThe area for this polygon.

The area of the planar non-self-intersecting polygon computed as:
A = 1/2 * (X1 Y2) - (X2 Y1) + ... + (Xn Y1) - (X1 Yn)
See Also