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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →