RVTDocs.com

CompoundStructure.GetWidth(Int32)

Method
Description:
Computes the width of the envelope (2d bounding box) of the specified region.
Syntax
public double GetWidth(
	int regionId
)
Parameters
Parameter Type Description
regionId Int32 The id of a region in this vertically compound structure.
Return Value
Type Description
Double The width of the envelope (2d bounding box) of the region.
Exceptions
Exception Condition
ArgumentException It is not a valid region id.
InvalidOperationException This operation is valid only for vertically compound structures.