Extruding a profile family along a line

maybe a pop up windows that asks you to select the line you want to use in this situation?

If so, check the Data-Shapes package