AngleTo Method


UV Angle To Method

Returns the angle between this vector and the specified vector.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double AngleTo(
	UV source
)

Parameters

source UV
The specified vector.

Return Value

Double
The real number between 0 and 2*PI equal to the angle between the two vectors in radians.
Exceptions
Exception Condition
ArgumentNullException Thrown when source is .
Remarks
The angle is measured counterclockwise.
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 →