Dimensionality selection in a molecule-based magnet.