Sets the cut surface line weight.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2014
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- lineWeight
- Type: SystemInt32
Value of the cut surface line weight for the override. InvalidPenNumber means no override is set.
Return Value
Reference to the changed object.Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | Line weight must be a positive integer less than 17 or invalidPenNumber. |