Hello Alban,
Working on the script I was facing these errors, could you please help me with this?
I have attached the images, Dynamo script and file for better explanation.
Thanks.
Fenestrations Script.dyn (39.1 KB)
Feestrations Sample model.rvt (1.6 MB)