his script uses  Densify(Editing) and Feature Vetices to Points to split polyline