RVTDocs.com

CompoundStructure.GetRegionEnvelope

Method
Description:
Gets the envelope that a specified region spans.
Remarks:
This envelope indicates the external boundary of the region. The coordinate system it defines is used in the results of GetSegmentCoordinate().
Syntax
public BoundingBoxUV GetRegionEnvelope(
	int regionId
)
Parameters
Parameter Type Description
regionId Int32 The id of the region.
Return Value
Type Description
BoundingBoxUV The envelope of the region.
Exceptions
Exception Condition
ArgumentException It is not a valid region id.
InvalidOperationException This operation is valid only for vertically compound structures.