Sets the detail level.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public OverrideGraphicSettings SetDetailLevel( ViewDetailLevel detailLevel )
Parameters
- detailLevel ViewDetailLevel
- Value of the detail level. ViewDetailLevel.Undefined means no override is set.
Return Value
OverrideGraphicSettingsReference to the changed object.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
