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

Edge.GetEndPointReference

Method
Description:
Returns a stable reference to the start or the end point of the edge.
Syntax
Parameters
Parameter Type Description
index Int32 Use 0 for the start point; 1 for the end point.
Return Value
Type Description
Reference Reference to the point or if reference cannot be obtained.
Exceptions
Exception Condition
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.