Select objects between two levels?

Hey Guys, whats app?
How can i use the Dynamo for select all objects, like walls, windows doors, floors, … between two levels?
I wanna create a group in revit using the dynamo objects selection.

If you want to select a specific category, You can do it.

To other level, just repeat the same idea.

Okay, but how can i transform my selection in a group?