IsValidRenderLevel Method


Validate the render level is between 1 and 40

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2017

Syntax

C#
public bool IsValidRenderLevel(
	int value
)
Visual Basic
Public Function IsValidRenderLevel ( _
	value As Integer _
) As Boolean
Visual C++
public:
bool IsValidRenderLevel(
	int value
)

Parameters

value
Type: System Int32
The render level value to validate.

Return Value

True if the render level value is in the proper range, false otherwise.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →