Split Profile Views

Hi everyone,
I’m trying to create splits in the profile views of an existing alignment in Civil 3D and adjust their datums. I have already created the alignment sheets, but in some cases the vertical alignment doesn’t fit within the profile view. So I’m trying to use Dynamo to create splits when the alignment elevation is higher than the profile view’s maximum elevation, and adjust the datum of the new split. Is that possible? I know that Civil 3D can automatically create splits, but it isn’t working properly.