Dimension Wall Openings, Genius Loci Node

Dear Dynamo Specialists,

I have a problem with the dimension tool of Genius Loci.

I would like to dimension on the floor plan on view range +1500mm1.
When I use the Genius Loci Node of Wall References I get extra dimensions “0” (yellow) and the extra dimensions of another higher void (not in the view range of the floor plan = Red circel).

This is the script

Could anyone help me to create a better dimension?

Thanks in Advance!!