Render images without texture

I am trying to render without the texture i have tried but unsuccessful i ave used

if val8 == 0:
areas = bpy.context.screen.areas
for area in areas:
if area.type == ‘VIEW_3D’:‘SOLID’
i dont know how to render without any texture just solid.

use the clay render addon.
or liero’s clay/wire addon.

any other option plz

How about

sce = bpy.context.scene
sce.render.use_textures = False

Thanxs that exactly what i required