| Revit 2022.1 API |
| View..::..GetColorFillSchemeId Method |
| View Class See Also |
Returns id of the color fill scheme element applied to the view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2022
Syntax
| C# |
|---|
public ElementId GetColorFillSchemeId( ElementId categoryId ) |
| Visual Basic |
|---|
Public Function GetColorFillSchemeId ( _ categoryId As ElementId _ ) As ElementId |
| Visual C++ |
|---|
public: ElementId^ GetColorFillSchemeId( ElementId^ categoryId ) |
Parameters
- categoryId
- Type: Autodesk.Revit.DB..::..ElementId
The id of the category which the color fill scheme element belongs to.
Return Value
The id of the color fill scheme element.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |