draw a spline from a data file
I'm new to max script and would like some pointers on how to draw a spline using a data file with xyz co-ordinates in it. Once I have produced a spline I then want to be able to select an object and read in a second data file, which would have the roll, pitch and yaw (u,v,w)of the object.(the rotations around x,y,z) for each vertex point on the spline. so that the object follows the spline and rotates at each vertex position.
What I have is data from a flight simulator of a helecopter landing on a frigate in the form of a data file with x,y,z data uvw data and time, from which I would like to produce an animation.