If you are measuring the inside diamter, then it needs to be where the caliper might foul.Its different on different calipers as they protude differently into the wheel towards the spokes and also towards the actual rim of the wheel.
Ideally, say which brakes you have and someone might have the same setup and can help.