When I started to use it, I always had a question that why I can't separate walls and floors from multiple layers in Revit.
Because, as an architect, I wanted to use singular compounded wall or floor families for schematic design, then change them as separated ones for D.D and C.D phase.
After start using Dynamo, I just thought it could be possible. So I tried to create a code for the job. I'm not sure it's as useful as my thought. but worth to try.
After created the code for Walls above, I created another code for Floors here.
It was a little more complicated than Wall case, but it was possible as well.
The dyn includes a python code I wrote which returns multiple polycurves from not organized list of curves for them as below image.
I hope the code helps you in similar situation.
You can make your own code or You can Download my works here for a coffee.