SiteSubRegion
Description:
Represents a proxy class exposing the interfaces needed to access details of a subregion.
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.
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.
public class SiteSubRegion : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Create(Document, IList<CurveLoop>) | SiteSubRegion | Creates a new SiteSubRegion element and adds it to the document. |
| Create(Document, IList<CurveLoop>, ElementId) | SiteSubRegion | Creates a new SiteSubRegion element with assigned TopographySurface to be hosted and adds it to the document. |
| Dispose() | None | Releases all resources used by the |
| GetBoundary() | IList<CurveLoop> | Gets the boundary of current subregion. |
| IsValidBoundary(IList<CurveLoop>) | bool | Identifies whether the given curve loops compose a valid boundary. |
| SetBoundary(IList<CurveLoop>) | None | Set the given curve loops as the boundary of an existing SiteSubRegion. |
| Name | Return Type | Description |
|---|---|---|
| HostId | ElementId | The element id of the topography surface hosting this SiteSubRegion. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| TopographySurface | TopographySurface | The TopographySurface element which this SiteSubRegion represents. |