Apartment plan generator - Script share

I started to make a little definition for arraying apartments along a corridor. Thought I would share the script here.

apartment generator.gh (46.1 KB)
apartment skelton lines.3dm (26.3 KB)