Creates a new geometric Curve object by converting the given HermiteSpline. The created curve may be a NURBSpline or a simpler curve such as line or arc.
The given hermite spline has to be non-periodic. -or- Curve length is too small for Revit’s tolerance (as identified by Application.ShortCurveTolerance).