BRepBuilderEdgeGeometry.Create
Description:
Construct BRepBuilderEdgeGeometry based on any GCurve, including GLine and GArc.
Construct BRepBuilderEdgeGeometry based on any GCurve, including GLine and GArc.
Overloads (2):
Create(Curve)
public static BRepBuilderEdgeGeometry Create(
Curve curve
)
-
curveThe 3D curve for this edge. This BRepBuilderEdgeGeometry stores a copy of the input curve. The use of isCurveOpenOrShort as a validator instead of isCurveOpen is a compromise to allow the creation of geometry that is normally considered unacceptable due to edges that are shorter than Revit allows.
Return Value
BRepBuilderEdgeGeometry
-
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.
-
A non-optional argument was null