Adjust the width of an existing simple region.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
public bool ChangeRegionWidth(
int regionId,
double newWidth
) |
Visual Basic |
---|
Public Function ChangeRegionWidth ( _
regionId As Integer, _
newWidth As Double _
) As Boolean |
Visual C++ |
---|
public:
bool ChangeRegionWidth(
int regionId,
double newWidth
) |
Parameters
- regionId
- Type: System..::..Int32
The id of a region.
- newWidth
- Type: System..::..Double
The desired width of the specified region.
Return Value
True if newWidth is zero and the region was deleted.
Remarks
Exceptions
See Also