![]() | Modify II toolbar: ![]() |
![]() | Modify menu: Object > Polyline |
![]() | Command line: pedit |
Select polyline: Use an object selection method
If the selected object is a line or an arc, AutoCAD LT prompts:
Object selected is not a polyline.
Do you want it to turn into one? <Y>:
Enter y or n, or press
ENTER
If you enter y, the object is converted into a single-segment 2D polyline that you can edit. You can use this method to join lines and arcs into a polyline.
The prompts for the PEDIT command vary
depending on whether you have selected a 2D or a 3D polyline:
2D Polyline Selection
3D Polyline Selection
If you have selected a 2D polyline, AutoCAD LT prompts:
Close / Join / Width / Edit vertex / Fit / Spline / Decurve / Ltype gen / Undo / eXit <X>: Enter an option or press ENTER
If the polyline you have selected is closed, Open replaces the Close option in the prompt.
Note: You can edit a 2D polyline only if the XY plane of the current UCS is the same or parallel to the plane on which the 2D polyline was originally created. You can use the Object option of the UCS command to realign the UCS to the 2D polyline, if necessary.
Creates the closing segment of the polyline, connecting the last segment with the first. AutoCAD LT considers the polyline open unless you close it using the Close option.
Removes the closing segment of the polyline. AutoCAD LT considers the polyline closed unless you open it using the Open option.
Adds lines, arcs, or polylines to the end of an open polyline and removes the curve fitting from a curve-fit polyline. For objects to join the polyline, their endpoints must touch.
Select objects: Use an object selection method
Specifies a new uniform width for the entire polyline.
Enter new width for all segments: Specify a width
Use the Width option of the Edit Vertex option to change the starting and ending widths of segments.
Marks the first vertex of the polyline by drawing an X on the screen. If you have specified a tangent direction for this vertex, an arrow is also drawn in that direction.
Next / Previous / Break / Insert / Move / Regen / Straighten / Tangent / Width / eXit <N>: Enter an option or press ENTER
Moves the X marker to the next vertex. The marker does not wrap around from the end to the start of the polyline even if the polyline is closed.
Moves the X marker to the previous vertex. The marker does not wrap around from the end to the start of the polyline even if the polyline is closed.
Saves the location of the marked vertex while you move the X marker to any other vertex.
Next / Previous/ Go / eXit <N>: Enter an option or press ENTER
If you leave the X marker where it is and enter go, AutoCAD LT splits the polyline into two pieces at the specified vertex. If you move the marker, any segments and vertices between the two vertices you specified are deleted.
If one of the specified vertices is at an end of the polyline, the polyline is truncated. If both specified vertices are at endpoints of the polyline, or if just one vertex is specified and it is at an endpoint, you cannot use Break mode.
Adds a new vertex to the polyline after the marked vertex.
Enter location of new vertex: Specify a point (1)
Moves the marked vertex.
Enter new location: Specify a point (1)
Regenerates the polyline.
Saves the location of the marked vertex while you move the X marker to any other vertex.
Next / Previous / Go / eXit <N>: Enter an option or press ENTER
If you enter go, any segments and vertices between the two vertices you specified are deleted, and a single straight line segment replaces them. If you specify only one vertex by entering go without moving the X marker, the segment following that vertex is made straight if it is an arc.
If you want to remove an arc segment that connects two straight segments of a polyline and then extend the straight segments until they intersect, use the FILLET command with a fillet radius of 0.
Attaches a tangent direction to the marked vertex, X for use later in curve fitting. AutoCAD LT prompts:
Direction of tangent: Specify a point or enter an angle
Changes the starting and ending widths for the segment that immediately follows the marked vertex.
Enter starting width <current>:
Specify a point, enter a value, or press ENTER
Enter ending width <start>:
Specify a point, enter a value, or press ENTER
To display the new width, you must regenerate the polyline.
Creates an arc-fit polyline, a smooth curve consisting of arcs joining each pair of vertices. The curve passes through all vertices of the polyline and uses any tangent direction you specify.
Uses the vertices of the selected polyline as the control points, or frame, of a curve approximating a B-spline. This curve, called a spline-fit polyline, passes through the first and last control points unless the original polyline was closed. The curve is pulled toward the other points but does not necessarily pass through them. The more control points you specify in a particular part of the frame, the more pull they exert on the curve. AutoCAD LT can generate quadratic and cubic spline-fit polylines.
Spline-fit polylines are very different from the curves produced by the Fit option. Fit constructs pairs of arcs that pass through every control point. Both these curves are different from true B-splines produced with the SPLINE command.
If the original polyline included arc segments, they are straightened when forming the spline's frame. If the frame has width, the resulting spline tapers smoothly from the width of the first vertex to the width of the last vertex. All intermediate width information is ignored. Once spline-fit, the frame, if displayed, is shown with zero width and CONTINUOUS linetype. Tangent specifications on control point vertices have no effect on spline-fitting.
When a spline-fit curve is fit to a polyline, the spline-fit curve's frame is stored so that it may be recalled by a subsequent decurving. You can turn a spline-fit curve back into its frame polyline by using the PEDIT Decurve option. This option works on fit curves in the same manner as it does on splines.
Spline frames are not usually displayed on the screen. If you want to see them, set the SPLFRAME system variable to 1. Next time the drawing is regenerated, AutoCAD LT draws both the frame and the spline curve.
Most editing commands act the same when applied to spline-fit polylines or fit curves.
The Join option of PEDIT decurves the spline and discards the spline information of the original and any added polylines. Once the Join operation is complete, you can fit a new spline to the resulting polyline.
The Next and Previous options of the Edit Vertex option of PEDIT move the X marker only to points on the frame of the spline, whether visible or not. The Break option of the Edit Vertex option discards the spline. The Insert, Move, Straighten, and Width options of the Edit Vertex option automatically refit the spline. The Tangent option of the Edit Vertex option has no effect on splines.
Object snap uses only the spline-fit curve itself, not the frame. If you want to snap to the frame control points, use PEDIT to recall the polyline frame first.
Removes extra vertices inserted by a fit or spline curve and straightens all segments of the polyline. Retains tangent information assigned to the polyline vertices for use in subsequent fit curve requests. If you edit a spline-fit polyline with commands such as BREAK or TRIM, you cannot use the Decurve option.
Generates the linetype in a continuous pattern through the vertices of the polyline. When turned off, this option generates the linetype starting and ending with a dash at each vertex. This option does not apply to polylines with tapered segments.
Full PLINE line type ON / OFF <current>: Enter on or off, or press ENTER
Reverses actions as far back as the beginning of the PEDIT command.
If you have selected a 3D polyline, AutoCAD LT prompts:
Close / Edit vertex / Spline curve / Decurve / Undo / eXit <X>: Enter an option or press ENTER
If the polyline you have selected is closed, Open replaces the Close option in the prompt.
Creates the closing segment of the polyline, connecting the last segment with the first. AutoCAD LT considers the polyline open unless you close it using the Close option.
Removes the closing segment of the polyline. AutoCAD LT considers the polyline closed unless you open it using the Open option.
Marks the first vertex of the polyline by drawing an X on the screen. If you have specified a tangent direction for this vertex, an arrow is also drawn in that direction.
Next / Previous / Break / Insert / Move / Regen / Straighten / eXit <N>: Enter an option or press ENTER
Moves the X marker to the next vertex. The marker does not wrap around from the end to the start of the polyline, even if the polyline is closed.
Moves the X marker to the previous vertex. The marker does not wrap around from the end to the start of the polyline, even if the polyline is closed.
Saves the location of the marked vertex while you move the X marker to any other vertex.
Next / Previous / Go / eXit<N>: Enter an option or press ENTER
If you leave the X marker where it is and enter go, AutoCAD LT splits the polyline into two pieces at the specified vertex. If you move the marker, any segments and vertices between the two vertices you specified are deleted.
If one of the specified vertices is at the end of the polyline, the polyline is truncated. If both specified vertices are at endpoints of the polyline, or if just one vertex is specified and it is an endpoint, you cannot use Break mode.
Adds a new vertex to the polyline after the marked vertex.
Enter location of new vertex: Specify a point
Moves the marked vertex.
Enter new location: Specify a point
Regenerates the polyline.
Saves the location of the marked vertex while you move the X marker to any other vertex. If you enter go, any segment and vertices between the two vertices you specify are deleted, and a single straight line segment replaces them.
Next / Previous / Go / eXit <N>: Enter an option or press ENTER
Fits a 3D B-spline curve to its control points. The SPLFRAME system variable controls the accuracy of and displays the control points for the 3D B-spline, whose curves can be approximated only by line segments. AutoCAD LT ignores negative values for spline segments.
Removes extra vertices inserted by a fit or spline-fit curve and straightens all segments of the polyline. Retains tangent information assigned to the polyline vertices for use in subsequent fit-curve requests. If you edit a spline-fit polyline with commands such as BREAK or TRIM, you cannot use the Decurve option.
Reverses actions as far back as the beginning of the PEDIT command.
Exits PEDIT.
Related Commands: 3DPOLY
creates 3D polylines. PLINE creates 2D polylines.
System Variables:
SPLFRAME, if set to 1, displays the control polygon for
spline-fit polylines, the fit surface of a polygon mesh, and the
invisible edges of a 3D face or polyface mesh. SPLINESEGS
stores the number of line segments to be generated for each spline
patch. SPLINETYPE controls the type of spline curve that
AutoCAD LT generates.