Floor and opening

I have a floor which intersect with and opening in on of its border, the intersection is not inside the floor. I want to get the area of the floor without the opening. I can not delete the opening. Someone has some idea.

Javi

Element.GetParameterValueByName node doesn’t work here? I’m a bit confused by the question.