What does PEDIT do?
PEDIT edits existing polylines and provides tools for changing their geometry and properties. You can join connected segments, close or open a polyline, change its width, edit individual vertices and create fitted or spline-like curves. The command can also convert compatible lines and arcs into polylines before editing them.
How to use the command
- Type
PEDITor its shortcut PE, then press Enter. - Select the polyline that you want to edit.
- If you select a compatible line or arc, confirm that it should be converted to a polyline when prompted.
- Choose the required editing option, such as Join, Width or Edit vertex.
- Complete the selected operation, then press Enter to finish.
Command: PE ↵
Select polyline or [Multiple]: select polyline
Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Reverse/Undo]: J ↵
Select objects: select connected segments ↵
Select objects: Enter
Key PEDIT options
PEDIT provides several tools for changing the structure and appearance of a polyline.
Practical example: join separate outline segments
Suppose a component outline consists of several connected line segments that should behave as one object. Start PEDIT, select one of the lines and confirm its conversion to a polyline if prompted. Choose Join, select the remaining connected segments and press Enter. GstarCAD combines the compatible geometry into one polyline, making the outline easier to select, edit and use for later operations.
Tip
The PEDITACCEPT system variable controls whether GstarCAD asks before converting a selected line or arc into a polyline. A value of 1 performs the conversion automatically without displaying the confirmation prompt.