Try using the node version and translating to Design Script via node to code. My guess is that it is working at L3 (only contains a list) or L1 (only contains elements), but it’s hard to know without seeing more.
Thank you JacobSmall but what do you mean by node version? Do you mean converting the functions of the script to their node equivalent? I have tried that and I still get the same error. I will try testing the lacing as you mentioned above to see if that helps.
I think it has something to do with the levels and scaling…
I copied the rooms down to the Datum and it works, but when I try and run the script for upper levels (L39) for example, it does not work. Is there some setting in dynamo I need to adjust so that the script works? I have tried changing the geometry scaling to the highest setting:
I copied the groups to the datum and it works but when I start changing where they sit in the levels, it works for some of the groups and not others. It is very strange. If you try making a group and then try changing the height (Level 07 compared with L39) do you get an error?
It is driving me bananas
If i only copy paste the group to another level it works.
If i change the offset height of that new group, the script can’t find the FinishBoundary. The result is an empty list. Like in your first picture.
So …the problem is the Room.FinishBoundary node.
I think this nodes needs the right “height of caluclation”. So if your group offset from level is 1m…you need to set the calculation height of the level to 1m.