IsWithinLengthLimits Method


Validates that the input point is within Revit design limits.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)

Syntax

C#
public static bool IsWithinLengthLimits(
	XYZ point
)
Visual Basic
Public Shared Function IsWithinLengthLimits ( _
	point As XYZ _
) As Boolean
Visual C++
public:
static bool IsWithinLengthLimits(
	XYZ^ point
)

Parameters

point
Type: Autodesk.Revit.DB XYZ
The point to test.

Return Value

True if the input point is within Revit design limits, false otherwise.

Remarks

Used to validate input for geometry construction methods.

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 →