This validator checks that the view scale is in the allowable range.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool IsValidViewScale( int viewScale )
Parameters
- viewScale Int32
- The denominator X in the view scale 1/X.
Return Value
BooleanTrue if the view scale is within the allowable range, false otherwise.