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 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 →