LevelOfDetail Property

The level of detail the view is going to be rendered at.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014


public int LevelOfDetail { get; set; }
Visual Basic
Public Property LevelOfDetail As Integer
Visual C++
property int LevelOfDetail {
	int get ();
	void set (int value);


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.


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.

See Also