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 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 →