At times you may need to convert the line to polyline or polyline to a spline and sometimes Spline to a Polyline. You can do all of these tasks using few simple commands, let’s see how it can be done.
Converting Line to Polyline
You can convert Line to Polyline using “Polyline Edit” tool of AutoCAD, using this tool you can also convert an arc or spline into a polyline. However, you can’t convert circle, ellipse and elliptical arc into a polyline using this tool.
Type PE on the command line and press Enter to start 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 selection a new prompt will appear on the command line stating that 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.
Converting Polyline to true spline
To convert a polyline into true spline type PE and press enter, then select polyline which you want to convert and select spline from prompt appearing on the command line. Press enter to exit 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 Spline Edit command, select “polyline spline” from drawing area and press Enter. The 2D polyline will be converted into a true spline and it will also inherit all the properties of a spline.
Converting Spline to Polyline
To convert a Spline into a polyline type PE on the command line press enter then select the spline from 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 “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. 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 comments below.