Control wall dimensions of various vertical structure with dynamo

Hi, I have walls with various vertical structure height. In a 3d View a create parts from my wall then i adjust my parts vertical structure using show shape handles. It’s quite tedious process as I have many wall to adjust. Is there any way to to adjust vertical structure of the wall with dynamo,… or any other faster solution?