Share

Edge.GetEndPointReference Method

Returns a stable reference to the start or the end point of the edge.


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

Syntax

C#

public Reference GetEndPointReference(
	int index
)

Parameters

index  Int32
Use 0 for the start point; 1 for the end point.

Return Value

Reference
Reference to the point or null if reference cannot be obtained.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown when the specified index is not 0 or 1.
InvalidOperationException Thrown when the object is internally marked as read-only in the setter.

See Also

Reference

Was this information helpful?