RVTDocs.com

CompoundStructure.AssociateRegionWithLayer

Method
Description:
Associates a region with a layer.
Syntax
public void AssociateRegionWithLayer(
	int regionId,
	int layerIdx
)
Parameters
Parameter Type Description
regionId Int32 The id of a region.
layerIdx Int32 The index of a layer in this CompoundStructure.
Return Value
Exceptions
Exception Condition
ArgumentException It is not a valid region id.
ArgumentOutOfRangeException The layer index is out of range.
InvalidOperationException This operation is valid only for vertically compound structures.