Label multiple alignment line segments

Hi,
I’m looking for a way to automatically add labels to all segments of my alignments (arc, spiral, and line). I know this can be done using the option shown in the picture below, but I’d like to automate the process because I’m working with a large number of alignments.

Does anyone know of a Dynamo node that can add labels (with a specific style) to all alignment segments? I’m aware of general labels and the GeneralSegmentLabel.ByObjectPoint node, but I can’t figure out how to convert an alignment into objects—and more importantly, it seems impossible to add labels to spirals this way.

Any suggestions would be appreciated!