How to Register Again - Unregister Class (bpy_types) ?

Hi everyone.
I unregister class, VIEW3D_PT_tools_transform

import bpy_types

How can I register it again with a script?

This not working:


You can unregister a class using the reference in bpy.types… but as soon you do that, that reference is gone, and you need the original class to register it again…

import bl_ui

The class is stored in the ‘’ at ‘blenddir/2.XX/startup/bl_ui/’

something usefull: you can check where the class comes from with:


Thanks you very much!!!