Forced Structure Proximity

Can you force a structure to spawn within a certain distance of another structure? Like a maximum distance rather than a minimum?
Continue to help post