BRepBuilderEdgeGeometry.Create(Curve)
Method
Description:
Construct BRepBuilderEdgeGeometry based on any Revit Curve, including Line and Arc. The curve will be simplified if possible.
Construct BRepBuilderEdgeGeometry based on any Revit Curve, including Line and Arc. The curve will be simplified if possible.
Parameters
| Parameter | Type | Description |
|---|---|---|
| curve | Curve | The 3D curve for this edge. This BRepBuilderEdgeGeometry stores a copy of the input curve. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The input curve is not bound. -or- The curve is degenerate (its length is too close to zero). -or- The endpoints of the curve are close enough that Revit considers it a closed curve. |
| ArgumentNullException | A non-optional argument was null |