I’m trying to extrude bldg footprints I got from Elk based on the Bldg levels info of the OSM file. However, they are all on different branches for each list item. Is there anyway I can isolate based on a text heading? Additionally, I think I have to split the text after the colons to get the number of floors so that I could then multiply by a standard floor height to make the input of the extrusion distance. In my head this makes sense and should be simple, but the data itself is making it seem impossible.
I’ve attached both the Grasshopper script I started. Unfortunately I can’t upload the OSM Data.
Hoping someone can help
Hey! You could look at the the text match component using a ‘RegEx’ expression for finding the item’s location in the list, using that to filter out unnecessary data, and then using ‘text split’ to get the data you want.
Both components are under ‘text’ in the ‘set’ tab.