← All ideas
  • Published 29 Jul 2021

choose context of blender python console

it would often be handy if there was a button in the python console options called 'click on editor to set python console's context'. Then any bpy.context calls would refer to the intended editor rather than the script editor itself.

66.7%

Development Status: Open

Upvote 4 Downvote 2
3di
29 Jul 2021

1 Comment

testure

this doesn't really make any sense.. a context isn't just a single thing you can pick from a list, it's like 50 different attributes in a class. clicking in an editor would change one of those attributes. That's why context overrides exist.. just make a dictionary with all of the information you need and pass it to an operator via your script.. easy as that

1