Slab Dimensions

No offense but the way you worded this makes it sound like you are asking us to do your job for you, which if you read the How to get help on the Dynamo forums post, is a good way to not get any response.

You showed us your script so far and an example of it working (good), but didn’t provide any errors on it not working on the next example (bad), instead you just ask us what is wrong (worse).

Start by showing any errors that pop up when you run the script on the second slab. This forum is to help you find solutions to errors or problems, not do your work for you, regardless of how much it will help your company.