Space Planning - Dynamo HELP!

I had a similar question about coloring. See this topic Select which colors are applied to masses? for the answer I was given. Could work for your purpose as well.

Im sure there is a cleaner way to do this, but it works.