Post #2298: Cool, almost there ![:slight_smile:](https://blenderartists.org/images/emoji/twi

📋 Metadata

🏷️ Tags

python-scripting intermediate unsolved

  • Python Scripting
  • Overlay

💬 Content

Cool, almost there :slight_smile:
For some reason, when you run below code, the overlay is displayed only once, at the last item of the loop. Why is that? Or how to workaround that?
for i in range (0,10): bpy.ops.pme.overlay(text=str(i), alignment='TOP', duration=2, offset_x=10, offset_y=30); time.sleep(0.5)

roaoao:

Use bpy.ops instead of O in console.


🔗 View on Blender Artists