Get Gridlines for Specific Curtain Walls

Hi All I’m trying to work out how to get an array of grid lines of a selected curtain wall in Revit.

I’ve got this far with the Python node… keeps returning null…

Have been using this post as a starting reference :

any help would be greatly appreciated!

Thank you :slight_smile:


If you want the V (vertical) gridlines, you can change the “GetUGridlineIds” method to “GetVGridlineIds.”

Fantastic, Thanks a lot for your reply! it works perfectly!