Stratal CAD

Editing polylines

Help centre · Drawing and editing

Close, join, widen, smooth and straighten polylines, edit their vertices one by one, and pick single segments to list, delete, move or copy. For anyone working with outlines, walls and profiles drawn as polylines.

Before you start

Steps: edit a polyline

  1. Type PEDIT.
  2. At Select polyline pick it, or choose Multiple to edit several. A line or arc you pick can become a polyline: answer Object selected is not a polyline. Do you want to turn it into one? <Y>.
  3. At Enter an option choose what to do (see Options). Keep choosing options, then press Enter to finish.

Options

Option What it does
Close / Open Closes an open polyline or opens a closed one.
Join Lines, arcs and open polylines that meet its ends are joined to it. Join cannot be taken back with PEDIT's Undo.
Width Specify new width for all segments.
Edit vertex Steps through the vertices (single polyline only); see below.
Fit Turns the polyline into a smooth curve of arcs through every vertex (two arcs a segment, meeting smoothly; widths are dropped).
Spline Turns it into short straight pieces along the B-spline whose control points are its vertices; it starts and ends at the first and last vertex.
Decurve Brings back the vertices Fit or Spline started from, or straightens arc segments.
Ltype gen ON runs the linetype pattern on across the vertices instead of starting it again at each, on screen, on layouts, in prints and PDF plots.
Reverse Reverses the vertex order.
Undo Takes back the last option.

Steps: edit vertices

  1. Choose Edit vertex. The marked vertex shows as a point; the prompt reads Vertex 1: enter a vertex editing option or press Enter for the next vertex.
  2. Options:
    • Next / Previous move the mark.
    • Move: Specify new location for marked vertex.
    • Insert: Specify location for new vertex after the marked one.
    • Width: starting and ending width of the segment after it.
    • Tangent: a direction (a point, or an angle in degrees) that Fit then leaves the vertex at.
    • Break: mark a vertex, move to another with Next or Previous, then Go: the segments between them go; an open polyline becomes two and a closed one opens.
    • Straighten: the same, then Go: the vertices between go and one straight segment joins them.
    • Exit returns to the main options.

Fitted polylines

Steps: work on one segment

  1. Type SEGEDIT and at Select a polyline segment click one segment.
  2. At Enter segment option [List/Delete/Move/Copy] <List>:
    • List (Enter): what it is, its ends and length.
    • Delete: an open polyline splits in two there (or ends a segment sooner); a closed one opens there.
    • Move: a base and a second point move both its ends; the segments beside it stretch and arcs keep their bulge.
    • Copy: copies it out as a line or arc (Specify base point <copy in place>).
  3. Segments can also join a selection: see Selecting objects.

Example

A site boundary was drawn as 30 separate lines. Type PEDIT, choose Multiple, select all 30 lines, answer Yes to convert them, then Join. They become one closed polyline you can hatch or measure.

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"That is not a polyline." Pick a polyline, or let PEDIT turn the line or arc into one.
"Nothing found at that point." Click closer to the object.
Join adds nothing The other objects' ends do not touch the polyline's ends exactly. Close the gap first.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.