2024 Class
Changes 0
C

SiteSubRegion

Description:
Represents a proxy class exposing the interfaces needed to access details of a subregion.
Remarks:
In the Revit database, both TopographySurface elements and subregion elements are represented by the same TopographySurface element subclass. In the Revit API, this SiteSubRegion class exists to separate the interfaces for subregions from those of topography surfaces.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Architecture.SiteSubRegion
public class SiteSubRegion : IDisposable
Name Return Type Description
M Create(Document, IList<CurveLoop>) SiteSubRegion Creates a new SiteSubRegion element and adds it to the document.
M Create(Document, IList<CurveLoop>, ElementId) SiteSubRegion Creates a new SiteSubRegion element with assigned TopographySurface to be hosted and adds it to the document.
M Dispose() None Releases all resources used by the
M GetBoundary() IList<CurveLoop> Gets the boundary of current subregion.
M IsValidBoundary(IList<CurveLoop>) bool Identifies whether the given curve loops compose a valid boundary.
M SetBoundary(IList<CurveLoop>) None Set the given curve loops as the boundary of an existing SiteSubRegion.
Name Return Type Description
P HostId ElementId The element id of the topography surface hosting this SiteSubRegion.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P TopographySurface TopographySurface The TopographySurface element which this SiteSubRegion represents.