A Color Fill Legend can only be placed in a Floor Plan View or a Section View.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static FailureDefinitionId OnlyOneColorFillNonPlan { get; }