Revit 2025.3 API
ViewSupported |
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: 25.3.0.0 (25.3.0.0)
Syntax
public ICollection<ElementId> SupportedColorFillCategoryIds()
Public Function SupportedColorFillCategoryIds As ICollection(Of ElementId)
public: ICollection<ElementId^>^ SupportedColorFillCategoryIds()
member SupportedColorFillCategoryIds : unit -> ICollection<ElementId>
Return Value
ICollectionElementId
All of the possible categories are OST_Rooms, OST_HVAC_Zones, OST_MEPSpaces, OST_Areas, OST_DuctCurves and OST_PipeCurves.
See Also