This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
# Mark all scene devices as GPU for cycles | |
bpy.context.scene.cycles.device = 'GPU' | |
print("--------------- SCENE LIST ---------------") | |
for scene in bpy.data.scenes: | |
print(scene.name) | |
scene.cycles.device = 'GPU' | |
scene.render.resolution_percentage = 200 |