RVTDocs.com

CompoundStructure.GetLayerAssociatedToRegion

Method
Description:
Gets the layer associated to a particular region.
Syntax
public int GetLayerAssociatedToRegion(
	int regionId
)
Parameters
Parameter Type Description
regionId Int32 The id of a region.
Return Value
Type Description
Int32 The index of a layer in this CompoundStructure.
Exceptions
Exception Condition
ArgumentsInconsistentException For a non-vertically compound structure, implicitly each layer is associated to its corresponding simple region.