Fabric sheets and fabric area

Hi, I managed to create a script for the fabric area, I am getting som errors but it manages to create fabric sheets in the wall. Is there any way to set limit so that rebar does not fills the whole height of the wall but onllu 2,35m from the bottom?
Does anybody maybe have some working script that can do the work?