I am having some troubles with a script I’ve created based off of the randomize panels script. I would like to have the script create a vertical brick pattern in the curtain wall with each panel 8’ tall and 1’ wide. I have done this by creating a curtain wall with the panels dimensions at 4’ tall x 1’ wide with the intention of deleting every second vertical segment in the list to create the brick pattern. I can get some of the grids to work but some of the time but usually only one row, as the “CurtainGrid.RemoveSegments” node does not delete the curtain grid segments I have fed into it from a list. I think there is something to do with the relationship between dynamo curves and revit curves, but I am stuck here. Would anyone be able to help me find a solution to this or help point me in a better direction please?
The first image shows the list selecting every second segment as intended, the second shows the script. The python node floating in there was just me trying to dissect the CurtainGrid.RemoveSegments node.
Thanks in advance,
Curtain grid brick pattern panel Randomize.dyn (28.7 KB)ANyone