CanRemoveEntry Method


Color Fill Scheme Can Remove Entry Method

Checks whether entry can be removed from the scheme.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool CanRemoveEntry(
	ColorFillSchemeEntry entry
)

Parameters

entry ColorFillSchemeEntry
The entry to remove.

Return Value

Boolean
Returns true if entry can be removed from the scheme, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
An entry cannot be removed if it is in use or does not exist in the scheme.
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 →