User Guide > Create and Modify Objects > Change Existing Objects > Modify Objects > Modify Polylines
To change the shape of polyline objects or to join separate polylines, you can access editing operations of PEDIT.
Polylines can be edited by closing and opening them, or moving, adding and deleting vertices.
Joined Polyline Segments
If a line, an arc, or a polyline connect to an open polyline at their ends, you can join them. You can also join ends, which are not coincident but are within a settable distance.
Properties of Modified Polylines
If the joined objects have different properties, the first selected object will determine the properties of the resulting polyline.
Additional Editing Options for Polylines
PEDIT offers extra options for editing and joining polylines, besides the common editing operations, which are accessible for most objects:
[Close(Open)/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Reverse/Undo]:
Creates the closing segment of the polyline, connecting the last segment with the first. The polyline is considered open unless you close it using the Close option.
Removes the closing segment of the polyline. The polyline is considered 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 unless you use the Multiple option at the first PEDIT prompt. In this case, you can join polylines that do not touch if the fuzz distance is set to a value large enough to include the endpoints.
Specifies a new uniform width for the entire polyline.
You can use the Width option of the Edit vertex option to change the starting and ending widths of a segment.

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.
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.

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 a command 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. Ltype gen does not apply to polylines with tapered segments.
Reverses the order of vertices of the polyline. Use this option to reverse the direction of objects that use linetypes with included text. For example, depending on the direction in which a polyline was created, the text in the linetype might be displayed upside down.
Reverses operations as far back as the beginning of the PEDIT session.
2022 · 2023 · 2024 · 2025 · 2026
Article ID: 4464
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/modify-polylines-gstarcad-2027-4464.html