Revit 2022 API |
PointOnEdge..::..SetEdgeReference Method |
PointOnEdge Class See Also |
Change the edge or curve reference.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Syntax
C# |
---|
public void SetEdgeReference( Reference reference ) |
Visual Basic |
---|
Public Sub SetEdgeReference ( _ reference As Reference _ ) |
Visual C++ |
---|
public: void SetEdgeReference( Reference^ reference ) |
Parameters
- reference
- Type: Autodesk.Revit.DB..::..Reference
Remarks
The referenced element may be any model element, including
FamilyInstance, FormElement, or CurveElement. The reference
must be of type ElementReferenceType.REFERENCE_TYPE_LINEAR.