Featureline to alignment and profile

Hi Everyone,
If i have more vertices in the feature line at curves how can i remove them once created alignment should be converted to curve just start and end.


FeaturelineToAlignmentProfile.dyn (767.4 KB)
Featureline to alignment.dwg (4.2 MB)