Error Creating Multiple Profile View Labels

I am attempting to create profile view labels in a single profile view along a profile at stations imported from an excel spreadsheet. I am using the “ProfileViewStationElevationLabel.ByStationElevation” node to do this. Even though I have multiple labels I want made, only the first one gets made.

I believe the correct stations, elevations, and label style are getting put into the label creation node. I think my trouble is in the profile view selection node, where there is only 1 input going in, so only 1 label is going out.

Could that be why only 1 label is being created? If so, how can I create multiple labels at my desired stations along profile in the one profile view?

Thanks!

Hi @bchcivil3d-5,

Could you upload a screenshot of your node setup? I think that would help narrow it down.

OK, I see. The Select Objects node will output a list, so in this case it’s a list of profile views. Even though you may only select a single profile view, it’s still a list (just with one item in it). So in order for the downstream nodes to handle the list properly, you can right-click and change the lacing to “Longest”.

Another option is to change the level of the profileView input to @L2.

Or a third option, use the Select Object node instead if you plan for this script to only ever be used with a single profile view at a time.

More info on list lacing here:

I do not have the option to change the lacing. Changing the level of profileView input, however, did the trick! Thank you!

Sorry, I wasn’t clear about that…the lacing would be on the ProfileViewStationElevationLabel.ByStationElevation node.

Anyway, glad you got it working!