Page MenuHome

module 'bpy.utils' has no attribute 'register_tool'
Closed, ArchivedPublic


Build 94503efb126

Running the tools template results in the error

Traceback (most recent call last):
  File "/", line 35, in <module>
  File "/", line 28, in register
AttributeError: module 'bpy.utils' has no attribute 'register_tool'

I assume the API simply changed, but I don't know what the new function is, unless tools are also supposed to be registered with register_class?



Event Timeline

This was removed intentionally, for the beta since Python developers may use - when it's almost certain the API will change.

  • No way to add groups of tools or add to existing groups.
  • Method of defining keymaps may change, isn't documented.

Ok but how are Python addon developers supposed to add active tools then?