UpdateEntry Method


Updates the scheme entry with the same parameter value as the input entry.

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

Syntax

C#
public void UpdateEntry(
	ColorFillSchemeEntry entry
)
Visual Basic
Public Sub UpdateEntry ( _
	entry As ColorFillSchemeEntry _
)
Visual C++
public:
void UpdateEntry(
	ColorFillSchemeEntry^ entry
)

Parameters

entry
Type: Autodesk.Revit.DB ColorFillSchemeEntry
The entry to be updated.

Remarks

The following entry fields can be updated:

  • Color
  • FillPattenId
  • Caption
  • IsVisible
/

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException The entry does not exist or the same as input one. -or- The entry does not exist or all the updating fields are the same as existing one.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

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 →