These threads could also be very useful:
http://dynamobim.org/forums/topic/align-objects-with-a-3d-curve/