Metal building condensation

never tired this but some one once told me string up a cord with a couple light bulb sockets the heat from the bulbs will keep it dry like i said i never tried it