GetPointLineZone Method (UV, UV)


Gets the index of fill grid line and the point on the grid line nearest to the input point.

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

Syntax

C#
public int GetPointLineZone(
	UV point,
	out UV nearestPoint
)
Visual Basic
Public Function GetPointLineZone ( _
	point As UV, _
	<OutAttribute> ByRef nearestPoint As UV _
) As Integer
Visual C++
public:
int GetPointLineZone(
	UV^ point, 
	[OutAttribute] UV^% nearestPoint
)

Parameters

point
Type: Autodesk.Revit.DBUV
Input point.
nearestPoint
Type: Autodesk.Revit.DBUV%
The point on the grid line nearest to the input point.

Return Value

The index of fill grid line.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

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 →