SetExtendableRegionIds Method


Sets the extendable region ids for the compound structure.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public void SetExtendableRegionIds(
	bool top,
	IList<int> regionIds
)
Visual Basic
Public Sub SetExtendableRegionIds ( _
	top As Boolean, _
	regionIds As IList(Of Integer) _
)
Visual C++
public:
void SetExtendableRegionIds(
	bool top, 
	IList<int>^ regionIds
)

Parameters

top
Type: SystemBoolean
If true, set ids of regions which are extendable at the top, otherwise set the ids of regions which are extendable at the bottom.
regionIds
Type: System.Collections.GenericIListInt32
The ids of regions which will be extendable.

Remarks

Regions along the top or bottom of the wall may be set to be extendable.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The region ids are not valid.
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsInvalidOperationException This operation is valid only for vertically compound structures.

See Also