The curve index n ({0}) passed to STCurveN is less than 1. This number must be greater than or equal to 1 and less than or ...