ColorFill Property


Revit Link Graphics Settings Color Fill Property

The color fill of RevitLinkGraphicsSettings. The color fill can be set to ByHostView or ByLinkView . Only a view that supports color fill can have this property set to ByLinkView . To check if the view supports the color fill use SupportedColorFillCategoryIds to see if there is any supported color fill category for the view. The LinkedViewId parameter must have a value assigned if this property is set to ByLinkView .

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public LinkVisibility ColorFill { get; set; }

Property Value

LinkVisibility
Exceptions
Exception Condition
ArgumentException When setting this property: Disallowed LinkVisibility value.
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration
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 →