please explain more 
| The Following User Says Thank You to luiscesjr For This Useful Post: | ||
| The Following User Says Thank You to luiscesjr For This Useful Post: | ||
import bpy
def test():
areas = bpy.context.screen.areas
for area in areas:
if area.type == 'VIEW_3D':
area.active_space.show_floor=not(area.active_space.show_floor)
test()
area.active_space.camera.rotation_euler.rotate(0.2,'X')