Polyline: add importPolyObjects() which imports a polyline described in existing objects