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 : http://dynamobim.org/forums/topic/create-a-curtain-grid-elements/

any help would be greatly appreciated!

Thank you :slight_smile:

http://dynamobim.org/forums/topic/manipulating-curtain-gridlines/#post-30856

 

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!