Convert line to polyline and spline in AutoCAD

Updated on October 23, 2023 by Jaiprakash Pandey, Affiliate Disclosure

At times you may need to convert line to polyline or polyline to a spline and sometimes Spline to a Polyline.

You can do all of these tasks using a few simple commands, let’s see the step-by-step method of converting these curves.

200 AutoCAD Commands PDF eBook

Get our free PDF eBook containing a collection of 200 AutoCAD 2D and 3D commands

Convert Line to Polyline

You can convert a Line to a Polyline using the “Polyline Edit” tool of AutoCAD.

Using this tool you can also convert an arc or a spline into a polyline.

However, you can’t convert a circle, ellipse and elliptical arc into a polyline using this tool.

To start this, type PE on the command line and press Enter to start the “Polyline Edit” command.

The command line will prompt you to select objects for making changes.

Click on the object which you want to change to polyline, you can also select multiple objects by selecting Multiple from the command prompt.

Once you have made the selection a new prompt will appear on the command line stating that the “selected object is not a polyline do you want to convert it” as shown in the image below.

Type Y and press enter twice to convert the object into a polyline and exit this command.

Convert Polyline into Spline

To convert a polyline into spline type PE and press enter, then select the polyline which you want to convert and select spline from the prompt appearing on the command line.

Press enter to exit the polyline edit command.

This will convert your polyline into a “polyline spline” which looks like a spline but inherits properties of the 2D polyline.

To convert it into true spline type SPE on the command line and press Enter.

This will start the Spline Edit command, select “polyline spline” from the drawing area and press Enter.

The 2D polyline we created in the previous step will be converted into a true spline and it will also inherit all the properties of a spline.

Convert Spline into Polyline

To convert a Spline into a polyline type PE on the command line press enter then select the spline from the drawing area and press enter again.

The spline will be converted into a polyline.

Alternatively, you can also use Spline Edit (SPE) command to convert a “true spline” into a polyline by simply selecting the “Convert to Polyline” option from the command line options.

In this case when the command prompts you to specify the precision enter the default value 10 or any other value which you like.

The higher the value of precision more accurate will be the converted polyline with respect to the spline but it will also create a dense polyline.

The value of precision can be set between 0 and 99.

Making Polyline look like an Arc

You can convert polyline into set of tangentially connected 2D curve that look like arcs. 

For this example I will use this drawing.

Double click on Polyline or use PEDIT to start Polyline edit then select Fit from options appearing on the command line.

The Fit option will convert your Polyline into series of tangentially connected arcs.

Control points will be added to the geometry at the position where initially vertices of original polyline were present.

You can modify this new geometry using those control points or grips. In this case, also the Polyline will geometrically change to series of connected arcs but it will still remain a 2D Polyline.

Your final geometry will look like the one shown below.

Summary

Converting line to polyline, polyline into spline and spline into polyline is a straight forward thing in AutoCAD but you should always keep precision in mind.

Don't add higher precision value if you don't intend to use it as it will eventually make your file size larger and drawing slower.

If you have questions related to this tip let me know in the comments area down below.


Disclosure: On this site, we have placed some recommended products and services from which we get an affiliate commission for every purchase you make without any extra cost to you. Learn more about our affiliate process here.

Get SourceCAD free courses

Start learning your CAD and engineering tool for free with our free courses and eBooks. Get a certificate of completion on finishing the courses.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>