A Bedford official said the conditions in some of the apartments were so bad he ordered an immediate evacuation.