GetUV Method


Polymesh Topology Get UV Method

Returns one UV coordinate at the given index.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public UV GetUV(
	int idx
)

Parameters

idx Int32
A zero-based index of a UV coordinate

Return Value

UV
UV coordinates at the given index
Exceptions
Exception Condition
ArgumentException The given value is not a valid index of a UV coordinate of the polymesh. A valid valure is not negative and is smaller than the number of UV coordinates in the polymesh.
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 →