SiteSubRegion
Represents a proxy class exposing the interfaces needed to access details of a subregion.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Architecture.SiteSubRegion
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class SiteSubRegion : IDisposable
The SiteSubRegion type exposes the following members.
Properties
Name
Description
Public Property
HostId
The element id of the topography surface hosting this SiteSubRegion.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
TopographySurface
The TopographySurface element which this SiteSubRegion represents.
Methods
Name
Description
Public Method
Static Member
Create(Document, IList.CurveLoop.)
Obsolete.
Creates a new SiteSubRegion element and adds it to the document.
Public Method
Static Member
Create(Document, IList.CurveLoop., ElementId)
Obsolete.
Creates a new SiteSubRegion element with assigned TopographySurface to be hosted and adds it to the document.
Public Method
Dispose
Releases all resources used by the SiteSubRegion
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetBoundary
Gets the boundary of current subregion.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
Static Member
IsValidBoundary
Identifies whether the given curve loops compose a valid boundary.
Public Method
SetBoundary
Obsolete.
Set the given curve loops as the boundary of an existing SiteSubRegion.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
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.