RoofOrFloor.SlabShapeByPoints not working

Strangely my Dynamo definition doesn’t work anymore. I found out it was the RoofOrFloor.SlabShapeByPoints which is not working so I tried to use the python code directly and it gives me this error:



The other parts of my definition work








Does anyone have an idea why I keep getting this error?


Hi Viktor,

You’ll need the actual floor/roof element. Right now you’re providing a floor type.

Thanks, Dimitar, it works that way.