GetGridNodeUV Method


Get the position of a grid node in UV coordinates in the surface.

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

Syntax

C#
public UV GetGridNodeUV(
	GridNode gridNode
)
Visual Basic
Public Function GetGridNodeUV ( _
	gridNode As GridNode _
) As UV
Visual C++
public:
UV^ GetGridNodeUV(
	GridNode gridNode
)

Parameters

gridNode
Type: Autodesk.Revit.DBGridNode

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeExceptionThrown when the grid node indexes are outside the range [ 0, NumberOfUGridlines - 1 ], [ 0, NumberOfVGridlines - 1 ].

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 →