Use the Convert 2D To 3D Polylines command to convert 2D to 3D polylines.
Use this utility if you need to modify the elevations of individual vertices of a 2D polyline. 2D polylines are coplanar objects. You can assign elevations to 3D polylines with the feature line elevation commands.