Create an object from a polyline

If you have a polyline in the same syntax as shown in the dialog; you can create that polyline as an object