# PEDIT Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [P](Help%20System/GSTARCAD/2027/Commands/P/(P).md)
## Function Description:
This command is used to edit polylines and 3D polygon meshes.
Users can use the PEDIT command to join 2D polylines and convert lines and arcs into 2D polylines, as well convert polylines into curves as B-splines.
The setting of the PLINECONVERTMODE system variable can determine whether the polylines are created with linear segments or arcs.
If you select a line, arc or spline, you are prompted to convert that object to a polyline. Several system variables affect this conversion.
The inputted precision value can determine the precision extend of the source polyline and final polyline.
## Command Access:
> **Icon:** 
> **Menu:** Modify > Object > Polyline
> **Ribbon:** Home > Modify > PEDIT
> **Toolbar:** Modify Ⅱ > Polyline Edit
> **Command:** PEDIT
> **Alias:** PE
> **Shortcut:** Select the polyline to be edited, right-click and select Polyline option, click Edit Polyline when there is no command active
## Command Prompts:
```
Select polyline or [Multiple]:
```
---
**Related References:**
- [Commands about Editing Specific Objects (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Editing%20Specific%20Objects.md)
**Related Tasks:**
- [To Modify Polylines (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Modify%20Polylines.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_P/PEDIT.html) · © Gstarsoft Co., Ltd.