cad structural area calculator / block detector script needed

Job ID: 40470529

Budget: $50 – $70 USD

I have a .dwg file that contains a structural design for a building floor plan.
I want a program that would auto recognize all the rooms / blocks / polygons and give them names INT-0...INT-16
and calculate the area for each of these blocks.

but it's external borders may have windows / doors / shutters which may have gaps in external boundaries.
All of this should happen at a backend service.

In the interest of time & efforts, Please bid only if you have already worked on something similar.

I'm fine with visual algorithms / using libraries that are designed for cad.