Area Creation Automation

HI all , I want to create a dynamo script to create areas from arch model automatically.I have managed to create area plan and area boundaries for each level.Now what i want next is to place areas in each enclosed area boundaries.Any help.

challenge i am facing is that how to get uv point in each enclosed area…

Try these nodes from my package, Crumple.
The Python is all exposed for people to learn from.