Area between windows for quantity take-off

Hi all,

We’ve got a certain problem with quantity take-off out of Revit:

  • If the distance between two windows is less then 1,00 m the wall inbetween those windows will have a different pricing than a regular wall.
  • We’d like to calculate these areas and put the result into a parameter (shared) to each wall this occours.
  • We don’t want to construct a seperate wall if this happens, because it would cause a lot more workload in the model, the data size would increase and modifications would be difficult.

How…:

Use Dynamo to calculate an area (distance between all windows of a wall (<1,00m) x height of the window).

If there are more than one areas in a wall, we’d like to add those areas up and put the sum into a parameter in the wall.

Our code so far:

Any help is greatly appriciated.

Nico