You can create the 3D Polyline by importing the XYZ points, using the Ruby Console.
Some necessary conditions for ruby script script
1) First numeric - x, second - y and, third – z
2) Delimiter is ";" (excel saves with ''," delimiter)
Then go to Ruby-> Toggle Ruby Console
Open the selected CSV file, the 3D line will be created in the drawing according to your points value.