Post #948: aM

📋 Metadata

  • Author: Way2Close
  • Date: 2017-09-21 14:35:38
  • Type: answer
  • Quality Score: 7/10
  • Reply to: post_00947

🏷️ Tags

scripting intermediate solved

  • Python Scripting
  • Macro Editor

💬 Content

aMars:

Is it possible to run a for loop in the command area or is it necessary to use an external script?

Works fine for me, I just tried:

bpy.context.scene.layers = [i == 0 for i in range(20)]

in the command tab, and it switches to layer 0


🔗 View on Blender Artists