Adjust the width of an existing simple region.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public bool ChangeRegionWidth( int regionId, double newWidth )
Parameters
Return Value
BooleanTrue if newWidth is zero and the region was deleted.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | It is not a valid region id. -or- It is not a simple region. |
| InvalidOperationException | This operation is valid only for vertically compound structures. |
