Revit 2025 API
Point |
Change the edge or curve reference.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.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