Post #1452: : post_01453
๐ท๏ธ Tags
macro hotkeys intermediate solved
โ๏ธ Related PME Features
- 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