just replace "LINE" with "LWPOLYLINE" in GetItems() function