Skip to Content

Modify Polylines — GstarCAD 2027

Modify Polylines

GstarCAD 2027 · User Guide

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]:

Close

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.

Open

Removes the closing segment of the polyline. The polyline is considered closed unless you open it using the Open option.

Join

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.

Width

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.

Edit vertex

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.

Fit

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.

Spline

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.

Decurve

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.

Ltype gen

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.

Reverse

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.

Undo

Reverses operations as far back as the beginning of the PEDIT session.

Other versions with matching text

2022 · 2023 · 2024 · 2025 · 2026