Dynamo scrips to combine multiple floors, including their subelement level

Hello,
Welcome to our community. I suggest you to check out our forum guidelines to get answers quickly.
Is it possible for you to share what you have tried until now?