The level of detail the view is going to be rendered at.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2014
Syntax
| C# | 
|---|
public int LevelOfDetail { get; set; }  | 
| Visual Basic | 
|---|
Public Property LevelOfDetail As Integer Get Set  | 
| Visual C++ | 
|---|
public: property int LevelOfDetail { int get (); void set (int value); }  | 
Remarks
The value is an integer number in range of [0,15] (inclusive), or a value {-1}. If the value is positive, Revit will use the suggested level of detail when tessellating faces; otherwise it will use its default algorithm, which is based on output resolution.
If an explicit level of detail is requested (i.e. a positive value), using a value close to the middle of the valid range yields a very reasonable tessellation. Revit uses level 8 as its 'normal' LoD.
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | When setting this property: The level of detail is not in valid range. It must be a number between -1 and 15, all inclusive. |