200 AutoCAD Commands and Shortcuts PDF eBook

Download the free eBook containing fully categorized list of 200+ AutoCAD commands, shortcuts, function keys and more

Convert line to polyline and spline in AutoCAD

Last Updated: April 29th, 2023By Categories: AutoCAD

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.

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.

Convert to polyline and spline

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.

convert line to polyline

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.

convert polyline to spline

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.

Learn AutoCAD right from scratch with video courses by published Authors

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.

convert spline to polyline

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.

Thanks, R.K. McSwain for suggesting this tip, see more tips from him on ย Cadpanacea. If you have questions related toย this tip let me know in the comments below.

200 AutoCAD Commands and Shortcuts PDF eBook

Download the free eBook containing fully categorized list of 200+ AutoCAD commands, shortcuts, function keys and more

10 Comments

  1. kangkong June 13, 2022 at 11:22 am - Reply

    after converting polyline to spline with a figure more like of a letter S, the figure then turned to straight line after the command executed. Why? does converting curved polyline is not supported for spline conversion?. pls help.

  2. Rock Star April 6, 2020 at 11:26 am - Reply

    Hi, is there any way to add vertices at specified intervals on a poly-line with curves? I tried vtxdist.lsp, but it converts curves to straight line. Thanks in advance.

  3. Mili February 2, 2019 at 12:53 pm - Reply

    is there a way to control the softness or aproximation of converted splines?
    i have a case where i need softener lines, so i convert polylines to splines, but it is not accurate at all any more

  4. Mei January 31, 2018 at 6:25 am - Reply

    Good morning.
    How to convert many polyline to spline at once without select it one by one?

    • Jaiprakash Pandey February 5, 2018 at 11:54 pm - Reply

      A LISP routine would be required to do this and unfortunately, I am not good with LISP :(

      • Joni Braun July 14, 2021 at 2:40 pm - Reply

        It would be good to write an article on this topic) about LISP, there is little information on the Internet.

  5. Wallace Phillips January 14, 2016 at 2:09 am - Reply

    Regarding this prompt:

    Object selected is not a polyline
    Do you want to turn it into one?

    If you want to make the line into a polyline automatically and bypass the prompt, set the PEDITACCEPT variable to 1

    • Jaiprakash Pandey January 14, 2016 at 11:07 am - Reply

      Thanks for the tip Wallace

  6. Momcilo January 11, 2016 at 5:36 pm - Reply

    Great.

    • Jaiprakash Pandey January 11, 2016 at 5:53 pm - Reply

      Thanks Momcilo

Leave A Comment Cancel reply