Due to regulations when aircraft are weighed as part of their schedule it must be indoors(eg a hangar) otherwise wind flow around the aircraft could give false readings.As for the procedure they put pressure pads under the wheels ,a computer then interprets the pressure exerted into a weight(technically speaking it's actually a mass) just like your bathroom scales but on a much bigger scale.
It's about as simple as that really.