Sets array of curves to CurveLoop.
Returns eOk if successful or an appropriate error code in the other case.