SupportedColorFillCategoryIds Method


Returns collection of all category ids that correspond to elements that can potentially be colored in this view according to a color fill scheme. The set may be different depending on the view type.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2022

Syntax

C#
public ICollection<ElementId> SupportedColorFillCategoryIds()
Visual Basic
Public Function SupportedColorFillCategoryIds As ICollection(Of ElementId)
Visual C++
public:
ICollection<ElementId^>^ SupportedColorFillCategoryIds()

Remarks

All of the possible categories are OST_Rooms, OST_HVAC_Zones, OST_MEPSpaces, OST_Areas, OST_DuctCurves and OST_PipeCurves.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →