Working on the PCB Layer Stack and outputting Gerber job file.
The PCB Layer Stack determines, among other things, the permissible layer for blind/buried vias.
Here's a sample 4 layer stack (This is not the same as the Layers panels)
CLICK TO ENLARGE
The developer of AutoTRAX DEX.