Tuesday
Autocad, Command, Hints & TipsHip tip: Converting lines and arcs to PLINE with PEDIT command
All AutoCAD versions
Dear Bloggers,
We have to use 2D POLYLINE especially when modeling in 3D and using EXTRUDE command. But most of the time, that fact is forgotten and we still use two dimensional lines and arcs. On the other hand, we are very aware of it sometimes and we first draw decorative objects using ARC-ARC continuity and then transform it into a PLOYLINE to send it to the CNC. PEDIT command is designed for these kinds of situations.
Actually, PEDIT command is not only used for transforming objects into a POLYLINE but, the subject of this article is uniting the objects into one by using JOIN option of PEDIT command.

Figure.1
You should know that the figure above is obtained by drawing circles on outer sides and trimming the extended parts. We can unite the outer objects by using PEDIT/JOIN.

Let us run the command.
Command: _pedit
A piece of POLYLINE or an object is requested in the next step. Pick an object that constitutes the outer border.
Select polyline or [Multiple]:
After the selection, a message warns you that the selected object is not a POLYLINE and you are asked if you want to turn it into one. The default answer is ‘y’ for yes. So you can just press enter.
Object selected is not a polyline
Do you want to turn it into one? y
Now, type ‘j’ to use JOIN option.
Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]: j
Pick all objects that constitute the outer border one by one or by help of a window.
Select objects: Specify opposite corner: 6 found
Select objects:
Press ‘ENTER’ at the end of the selection. The command sorts the objects that can be joined and gives a report at the end (The objects have to be intersected at both ends in order to be joined).
3 segments added to polyline
Enter an option [Open/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]:
If you look at the options line, the first one is ‘OPEN’. This designates that the process was successful and the selected objects were turned into a single closed POLYLINE. Of course, you can keep open an open object or close it by using ‘CLOSE’ option. Simply press ‘ENTER’ in this case.

Figure.2
The adjacent objects sometimes seems like they are intersecting but they might not. You have to zoom in, check both ends and have them intersected.

Figure.3
That’s all for today.
Regards.
Related Articles:
Technorati Tags:
Viewed 6,223 times so far... This week: 69 Today: 12 Latest: 4 July 2009, 21:51Read in Other Languages:
Post Tags: Autocad, Tips
Related Posts
Popular
- Hip tip: Increasing view resolution with VIEWRES system variable
07/03/2009 04:39 am
7 Comments - Sirince – IZMIR
07/02/2009 11:02 am
1 Comment - Visual LISP: Programming user interfaces with OpenDCL
07/01/2009 10:15 pm
10 Comments - 3D Modeling 7: EXTRUDE
06/30/2009 02:14 pm
10 Comments - Ask DailyAutoCAD: Which Notebook to Buy?
06/30/2009 12:17 pm
1 Comment
Featured Articles
- AutoCAD 2009 Update 3 Released
- Speed Up As AutoCAD 2009 Ribbon Menu Helps You!
- MEP Analysis Extension for AutoCAD MEP extended to March 31, 2009
- Recap of AutoCAD-related technologies on Autodesk Labs
- Technology Preview of MEP Analysis Extension extended to 12/31/08
- Autodesk Labs: Forward and Backward utility for AutoCAD
|

May 2, 2008
Reply
Grandiously, Orhan Toker
May 2, 2008
Reply
Thanks
Jul 22, 2008
Reply
I drew some polylines, then smoothed them out with the spline command. They’re still polylines, just drawn smoothly. But not very smoothly, They’ve obviously composed of a dozen straight-line segments. I couldn’t find any way to alter that.
So I converted them to genuine splines. That took care of the smoothness issue, but the lines lost all thickness. I mean line-weight. I couldn’t get them to appear bold on screen.
I was able to plot them OK by increasing the line-weight and the pen-thickness for that color. But it took quite a bit of trial-and-error and they were still only hairlines on-screen. How do you increase the thickness of non-polyline objects?
Had the same problem a few weeks ago with arcs and circles. Once drawn, they couldn’t simply be converted into thick-polylines.
Jul 23, 2008
Reply
Hello HP,
Did you try increasing VIEWRES?
Regards
Jul 23, 2008
Reply
Yes sir, I tried it. Still does not save the line weight. any other solutions? Thanks for responding.