a routine redefines selected blocks on layer 0 and changes all entity colors and linetypes to bylayer.