AddEdge Method (Reference, Double, Reference, Double)


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

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

Syntax

C#
public void AddEdge(
	Reference startEdgeReference,
	double startParam,
	Reference endEdgeReference,
	double endParam
)
Visual Basic
Public Sub AddEdge ( _
	startEdgeReference As Reference, _
	startParam As Double, _
	endEdgeReference As Reference, _
	endParam As Double _
)
Visual C++
public:
void AddEdge(
	Reference^ startEdgeReference, 
	double startParam, 
	Reference^ endEdgeReference, 
	double endParam
)

Parameters

startEdgeReference
Type: Autodesk.Revit.DB Reference
The geometry reference of start edge
startParam
Type: System Double
The param on start edge to specify the location.
endEdgeReference
Type: Autodesk.Revit.DB Reference
The geometry reference of end edge
endParam
Type: System Double
The param on end edge to specify the location.

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 →