RVTDocs.com
Namespace: Autodesk.Revit.DB Class: BRepBuilder

BRepBuilder.AddEdge

Method
Description:
Add a new edge to the geometry being built. The BRepBuilder uses edges only to store edge geometry and to track pairs of co-edges that share an edge.
Parameters
Parameter Type Description
edgeGeom BRepBuilderEdgeGeometry Information specifying the edge's geometry.
Return Value
Type Description
BRepBuilderGeometryId Id of the edge, to be used in calls to other BRepBuilder methods such as AddCoEdge().
Exceptions
Exception Condition
ArgumentException The input edge geometry was invalid.
ArgumentNullException A non-optional argument was null
InvalidOperationException This BRepBuilder object isn't accepting new data, either because it has already been used to build geometry, or because of an error. Consult the State property of the BRepBuilder object for more details.