AddEdge Method (Reference, Reference)


Add an edge to the form, connecting two edges on same/different profile, by a pair of specified points.

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

Syntax

C#
public void AddEdge(
	Reference startPointReference,
	Reference endPointReference
)
Visual Basic
Public Sub AddEdge ( _
	startPointReference As Reference, _
	endPointReference As Reference _
)
Visual C++
public:
void AddEdge(
	Reference^ startPointReference, 
	Reference^ endPointReference
)

Parameters

startPointReference
Type: Autodesk.Revit.DBReference
The geometry reference of start point
endPointReference
Type: Autodesk.Revit.DBReference
The geometry reference of end point

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →