RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Edge

Edge.GetCurveUV(Int32)

Method
Description:
Calculate a 2D curve that represents the edge in the uv-parameter plane of one of the edge's faces. The output curve's direction will follow the parametric direction of the edge, not the topological direction of the edge on the given face.
Syntax
public CurveUV GetCurveUV(
	int index
)
Parameters
Parameter Type Description
index Int32 The index of the face (0 or 1).
Return Value
Type Description
CurveUV If successful, returns the calculated CurveUV, otherwise.
Exceptions
Exception Condition
ArgumentOutOfRangeException Thrown when the specified index is not 0 or 1.