Revit 2026 API
Point |
Change the edge or curve reference.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetEdgeReference( Reference edgeReference )
Public Sub SetEdgeReference ( edgeReference As Reference )
public: void SetEdgeReference( Reference^ edgeReference )
member SetEdgeReference : edgeReference : Reference -> unit
Parameters
- edgeReference Reference

The referenced element may be any model element, including
FamilyInstance, FormElement, or CurveElement. The reference
must be of type ElementReferenceType.REFERENCE_TYPE_LINEAR.
See Also