HasBadLevel Method


Classification Entry Has Bad Level Method

Checks if the level is an integer in range between 1 and 5 inclusive.

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

Return Value

Boolean
True if the level is not an integer from 1 to 5 inclusive. False otherwise.
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 →