Link to onshape model, save a copy to your workspace, then right click on linear pattern to edit stack spacing based on your layer height.
https://cad.onshape.com/documents/7aeb2d53e8b62ac2023258df/w/b3edb8a1460d9a90d79c4a8a/e/b865785a437119ebd43f2b54