Cream butter; gradually add sugar, beating well. Add eggs, one at a time, beating well after each addition. Add pinto beans, beating well. Combine 1 1/2 cups flour, soda, salt, and spices; gradually add to bean mixture, beating well. Stir in vanilla.
Combine apples, pecans, and raisins; dredge in remaining 1/2 cup flour, and gently fold into batter.
Spoon batter into a greased and floured 10-inch Bundt pan. Bake at 375° for 50 to 55 minutes or until cake tests done. Cool in pan 10 minutes; remove from pan, and let cool completely. Sprinkle top of cake with powdered sugar.