SetStripedRowsColor Method


Sets the color applied to part of the pattern for a schedule with striped rows.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2021

Syntax

C#
public void SetStripedRowsColor(
	StripedRowPattern index,
	Color color
)
Visual Basic
Public Sub SetStripedRowsColor ( _
	index As StripedRowPattern, _
	color As Color _
)
Visual C++
public:
void SetStripedRowsColor(
	StripedRowPattern index, 
	Color^ color
)

Parameters

index
Type: Autodesk.Revit.DBStripedRowPattern
The part of the striped row pattern.
color
Type: Autodesk.Revit.DBColor
The color which will be used in striped row pattern.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsArgumentOutOfRangeException 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 →