Adds new entry to the scheme.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2022
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- entry
-
Type:
Autodesk.Revit.DB
ColorFillSchemeEntry
Remarks
To make sure that entry can be added to the scheme, call
IsEntryConsistentWithScheme(ColorFillSchemeEntry)
first.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | There already exists an entry with the same value in the scheme. -or- The entry value is out of range. -or- The scheme and the entry have different parameter storage type. -or- The fill pattern id is not valid for scheme. |
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |