IsValidForSurfaceTolerance Method


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

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

Syntax

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

Parameters

value
Type: SystemDouble
The value to be checked.

Return Value

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