0
$\begingroup$

I'm writing addon which edits default UI.

To be specific - it works with VIEW3D_MT_mesh_add

The functionality I need goes beyond standard append/prepend

*hence this addon edits python code in UIspace_view3d.py


It works perfectly, though to apply changes to UI - I should restart Blender.

. How can I reload UI *without restarting Blender itself ?

$\endgroup$

1 Answer 1

2
$\begingroup$

bpy.ops.script.reload() should work.

enter image description here

$\endgroup$
1
  • $\begingroup$ It works perfectly. Huge thanks ! $\endgroup$
    – Yaroslav
    Commented May 30 at 13:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .