ProfileViewStationElevation label issue

Hi!

I’m still relatively new to the world of Dynamo. However, I’ve encountered a problem with ProfileViewStationElevation labels. I’ve placed these labels into profile views using different styles, and now I want to obtain the StationElevation labels that correspond to a specific label style. After that, I need to extract the alignment and station data from them. Depending on the style, I would like to create a 50 m long perpendicular line along the alignment at the stations. The side of the line will depend on the style of the ProfileViewStationElevation label.

I want to use elevation labeling because it allows me to easily change the styles if necessary.

Initially, I tried to use the AllObjectsOnLayer node, but all ProfileViewStationElevation labels are placed on the same layer, including those that I don’t want to use. So far, I haven’t found a node that provides proper access to the ProfileViewStationElevation labels and their styles. Currently, I can only select the labels one by one, which is time-consuming and error-prone. Even if I select just one ProfileViewStationElevation label, I still can’t see the style of the label because I get a “Multiple Styles found” error message when using the CivilObject.Style node.

Has anyone encountered a similar issue? Is there another solution to achieve my goal? Thank you for your help! Below is my attempt.