How do we get the width of the wall opening through dynamo

Hi,

You can extract the geometry of the openings this way :

And then try to compute yourself the widht/length/thickness by manipulating the points.