Post #2479: Ci

πŸ“‹ Metadata

🏷️ Tags

python-scripting intermediate solved

  • Python Scripting
  • execute_script
  • Macro Editor

πŸ’¬ Content

Cirno:

Is there a way to post a message in INFO bar, similar to operator’s report method when I execute a script with execute_script?

Try this code:

pme.context.exec_operator.report({'ERROR'}, "My message")

❀️ 2 likes


πŸ”— View on Blender Artists