How get spatial element from room



How can I get spatial element from room in Dynamo PythonScript ?

Im want to use spatial element method to room :


Im get All rooms in view:

import clr
from Autodesk.DesignScript.Geometry import *
from Autodesk.Revit.DB import*
from RevitServices.Persistence import DocumentManager
doc =DocumentManager.Instance.CurrentDBDocument
collector=FilteredElementCollector(doc, doc.ActiveView.Id) 


And later i want to get a spatial element from room :

spatial_rooms=[UnwrapElement(i).SpatialElement for i in rooms] ???
OUT = spatial_rooms


in the end, I want to get surfaces areas of the walls , floors, ceilings from all rooms without the area of including windows and doors


So the Element.Geometry node?


if we will use Element.Geometry node then
we will get solids of rooms and then we can get the surfaces of this solids.
but I need to get the surface finish, probably… because I want to get the wall area of current room without the area of including windows and doors


What is the end goal? couod you subtract door and window areas from the surfaces?


yes) finish room areas dont includes doors and windows areas …may be…
Its could be wrong because of im not projecting the wall
if its true then i want to get this finish room areas)
this areas: