GetBoundary Method


Gets the collection of polygons that form the 2D boundary. This method returns a collection of polyloops (planar polygons) that defines an enclosed area measured by interior bounding surfaces.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public IList<Polyloop> GetBoundary()
Visual Basic
Public Function GetBoundary As IList(Of Polyloop)
Visual C++
public:
IList<Polyloop^>^ GetBoundary()

Return Value

The collection of polygons that form the 2D boundary.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →