AllowedValues Enumeration


Allowed Values Enumeration

A range of allowed values.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public enum AllowedValues
Members
Member name Value Description
NonNegative 0 Only non-negative values are allowed. A tolerance of 1.0e-9 is used, so very small negative numbers are accepted.
All 1 All values are allowed.
Positive 2 Only positive values are allowed. A tolerance of 1.0e-9 is used, so very small positive numbers are rejected.
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 →