Post #1452: ![](https://blenderartists.org/user_avatar/blenderartists.org/anphung/48/39426_2

๐Ÿ“‹ Metadata

๐Ÿท๏ธ Tags

macro hotkeys intermediate solved

  • Macro Editor
  • Sidebar Toggle
  • Context Override

๐Ÿ’ฌ Content

anphung:

Is there a way to save the width of the side bars/ shelves when toggling an area (UV Editor)?

No, but Iโ€™ll try to add this feature in the next version.

anphung:

Can I hide side bars/ shelves when I call a side area?
Here I used a macro op: Toggle Side bar > Toggle Side Area. Doesnโ€™t work
Tried the different settings for Toggle Side Bar (hide, show, toggle), same thing.

Works for me. Try to remove the 1st or 2nd slot.

If you want to show sidebar in the new area (UV Editor in your case) you need to override context for the operator:

(bpy.ops.pme.sidebar_toggle(override_context('IMAGE_EDITOR')))

In this case operator will be called for UV Editor area.
You can find all area types here.


โค๏ธ 1 likes


๐Ÿ”— View on Blender Artists