the british rail class 46 is a class of diesel locomotive. they were built from 1961–1963 at british railways' derby works and were initially numbered d138-d193. with the arrival of tops computer system they were renumbered to class 46. fifty-six locomotives were built. the first was withdrawn in 1977 and all of them were withdrawn by 1984.