# SPLINEDIT Command
[GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [S](%28S%29.md)
## Function Description:
> Edit a spline or spline-fit polyline
**Menu:**
> Modify\>Object\>Spline
**Command Entry:**
> SPLINEDIT
**Command nPrompt:**
> Select spline:
>
> Enter an option \[Fit data(F)/Close(C)/Move vertex(M)/Refine(R)/rEverse(E)/Undo\]:
>
> When you select a spline object or spline-fit polyline, grips appear at the control points.
>
> If the selected spline is closed, the Close option changes to Open. If the selected spline has no fit data, the Fit Data option is not available.
>
> Fit data(F)
>
> \[Add/Close(C)/Delete(D)/Move(M)/Purge(P)/Tangents(T)/eXit\] \<eXit\>:
>
> > **Add**
> >
> > Adds fit points to a spline.
> >
> > Specify control point \<exit\>: Specify a control point or press ENTER
> >
> > Specify new point \<exit\>: Specify a point or press ENTER
> >
> > Specify new point \<exit\>: Specify a point or press ENTER
> >
> > When you select a point, SPLINEDIT highlights it and the next point and interprets the new point to go between the highlighted points. Use the Undo option to remove the last point added. Selecting the last point on an open spline highlights only that point, and SPLINEDIT adds the new point after the last. If you select the first point on an open spline, you have the option of placing the new point before or after the first point.
> >
> > Specify new point or \[After/Before\] \<exit\>: Specify a point, enter an option, or press ENTER
> >
> > Specify new point \<exit\>: Specify a point or press ENTER
> >
> > The point is added, and the spline is refitted through the new set of points.
> >
> > **Close/Open**
> >
> > If the selected spline is closed, the Close option is replaced by the Open option.
> >
> > > **Close**
> > >
> > > Close an open spline and makes it tangent continuous (smooth) at its endpoints. If the spline's start point and endpoint are the same, this option makes the spline tangent continuous at both points.
> > >
> > > Open
> > >
> > > Open a closed spline. If the spline's start point and endpoint were the same before you used the Close option to make it tangent continuous at both points, the Open option returns the spline to its original state. The start point and endpoint remain the same but lose their tangent continuity (smoothness).
> >
> > If the spline was open (its start point and endpoint were not the same) before you used the Close option to make it tangent continuous where the start point and endpoint meet, this option returns the spline to its original open state and removes tangent continuity.
> >
> > **Delete(D)**
> >
> > Remove fit points from a spline and refits the spline through the remaining points.
> >
> > Specify control point \<exit\>: Specify a control point or press ENTER
> >
> > **Move(M)**
> >
> > Specify a new position of \[Next/Previous/Select point/eXit\]\<Next\>:
> >
> > > **New Location**
> > >
> > > Move the selected point to the new
> > > location you specify. The previous prompt is repeated.
> > >
> > > **Next**
> > >
> > > Move selection to the next point.
> > >
> > > **Previous**
> > >
> > > Move selection to the previous point.
> > >
> > > **Select Point**
> > >
> > > Select a point from the set of fit points.
> > >
> > > **Exit**
> > >
> > > Return to the Enter a Fit Data Option prompt.
> >
> > **Purge(P)**
> >
> > Remove a spline's fit data from the drawing database. After purging the spline's fit data, the main SPLINEDIT prompt is displayed without the Fit Data option
> >
> > **Tangents(T)**
> >
> > Edit the start and end tangents of a spline.
> >
> > Edit the start and end tangents of a spline.
> >
> > Specify end tangent or \[System default(S)\]:
> >
> > If the spline is closed, the prompt becomes Specify Tangent or \[System Default\].
> >
> > The System Default option calculates the default tangents at the ends.
> >
> > You can specify a point or use the Tangent or Perpendicular object snap mode to make the spline tangential or perpendicular to existing objects.
>
> Close/Open
>
> If the selected spline is closed, the Close option changes to Open.
>
> > **Close**
> >
> > Close an open spline and makes it tangent continuous (smooth) at its endpoints. If the spline's start point and endpoint are the same, this option makes the spline tangent continuous at both points.
> >
> > Open
> >
> > Open a closed spline. If the spline's start point and endpoint were the same before you used the Close option to make it tangent continuous at both points, the Open option returns the spline to its original state. The start point and endpoint remain the same but lose their tangent continuity (smoothness).
>
> If the spline was open (its start point and endpoint were not the same) before you used the Close option to make it tangent continuous where the start point and endpoint meet, this option returns the spline to its original open state and removes tangent continuity.
>
> **Move Vertex**
>
> Relocate a spline's control vertices and purges the fit points.
>
> Specify a new position of \[Next/Previous/Select point/eXit\]\<Next\>:Specify a point, enter an option, or press ENTER
>
> > New Location
> >
> > Move the selected point to the new location you specify.
> >
> > After you specify a new location for the selected point, SPLINEDIT recalculates and displays the spline with a new set of control points.
> >
> > Next
> >
> > Move selection to the next point. The point marker does not wrap around from the end to the start of the spline, even if the spline is closed.
> >
> > **Previous**
> >
> > Move selection to the previous point. The point marker does not wrap around from the start to the end of the spline, even if the spline is closed.
> >
> > Select Point
> >
> > Select a point from the set of control points.
> >
> > Specify fit point \<exit\>: Specify a point or press ENTER
> >
> > Exit
> >
> > Return to the main SPLINEDIT prompt.
>
> Refine
>
> Fine-tunes a spline definition.
>
> Enter a refine option \[Add Control point(A)/Elevate order(E)/Weight(W)/eXit\] \<eXit\>:
>
> > Add Control point(A)
> >
> > Increase the number of control points that control a portion of a spline.
> >
> > Specify a point on the spline \<exit\>: Specify a point or press ENTER
> >
> > SPLINEDIT adds a new control point close to the point you select, between the two control points affecting that portion of the spline.
> >
> > Elevate order(E)
> >
> > Increase the number of control points on the spline.
> >
> > Enter new order \<current\>: Enter an integer or press ENTER
> >
> > Entering a value greater than the current value increases the number of control points uniformly across the spline for more localized control. The maximum value for order is 26\.
> >
> > **Weight(W)**
> >
> > Change the weight at various spline control points. A larger weight value pulls the spline closer to the control point.
> >
> > Enter new weight (current \= current) or \[Next/Previous/Select point/eXit\] \<N\>: Enter a value, enter an option, or press ENTER
> >
> > **New Weight**
> >
> > Recalculate the spline based on the new weight value at the selected control point. The larger the integer value, the more the spline is pulled toward the control point.
> >
> > **Next**
> >
> > Moves selection to the next point. The point marker does not wrap around from the end to the start of the spline, even if the spline is closed.
> >
> > **Previous**
> >
> > Move selection to the previous point. The point marker does not wrap around from the start to the end of the spline, even if the spline is closed.
> >
> > **Select Point**
> >
> > Select a point from the set of control points.
> >
> > Specify fit point \<exit\>: Specify a point or press ENTER
> >
> > **Exit**
> >
> > Return to the main Refine prompt.
>
> Reverse
>
> Reverse the spline's direction. This option is intended primarily for third-party applications.
>
> Undo
>
> Cancel the last editing action.
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/Commands/S/SPLINEDIT%20Command.md)