IsValidForGridAspectRatio Method


Checks whether the value is allowed (is in the allowed range) for GridAspectRatio tessellation parameter.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2023

Syntax

C#
public static bool IsValidForGridAspectRatio(
	double value
)
Visual Basic
Public Shared Function IsValidForGridAspectRatio ( _
	value As Double _
) As Boolean
Visual C++
public:
static bool IsValidForGridAspectRatio(
	double value
)

Parameters

value
Type: SystemDouble
The value to be checked.

Return Value

True if the value is valid for GridAspectRatio, 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 →