| Revit 2023 API |
| OverrideGraphicSettings..::..SetCutBackgroundPatternId Method |
| OverrideGraphicSettings Class See Also |
Sets the ElementId of the cut face background pattern override.
The fill pattern must be a drafting pattern.
A value of InvalidElementId means no override is set.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2019
Syntax
| C# |
|---|
public OverrideGraphicSettings SetCutBackgroundPatternId( ElementId fillPatternId ) |
| Visual Basic |
|---|
Public Function SetCutBackgroundPatternId ( _ fillPatternId As ElementId _ ) As OverrideGraphicSettings |
| Visual C++ |
|---|
public: OverrideGraphicSettings^ SetCutBackgroundPatternId( ElementId^ fillPatternId ) |
Parameters
- fillPatternId
- Type: Autodesk.Revit.DB..::..ElementId
Value of the cut face background fill pattern override.
Return Value
Reference to the changed object.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |