For that sort of functionality you could just use the foundation stairs build type but add a bool to the build part details data table that when enabled just spawns the foundation grids. If you take a look in the build master its quite easy to see how its set up.