Post #1929: ![](https://blenderartists.org/user_avatar/blenderartists.org/colacuve/48/535989
📋 Metadata
- Author: roaoao
- Date: 2019-02-08 21:33:52
- Type:
answer - Quality Score: 8/10
- Reply to: post_01928
🏷️ Tags
python-scripting intermediate solved
⚙️ Related PME Features
- Python Scripting
- Macro Editor
💬 Content
Colacuve:
bpy.data.screens[“Layout”].shading.light = ‘STUDIO’
bpy.data.screens[“Layout”].shading.color_type = ‘TEXTURE’
Try this instead:
C.space_data.shading.light = 'STUDIO'
C.space_data.shading.color_type = 'TEXTURE'
❤️ 1 likes