📋 Metadata

💬 Content

anphung:

I want to hide the side bars of the 3D View when I call the UV Edtor.

Use macro with these 3 slots:

(bpy.ops.pme.sidebar_toggle(override_context('VIEW_3D'), action='HIDE'))



(bpy.ops.pme.sidebar_toggle(override_context('VIEW_3D'), action='HIDE', sidebar='PROPERTIES'))



bpy.ops.pme.sidearea_toggle(area='IMAGE_EDITOR', width=500)

Or just this code in your pie menu (Command tab):

bpy.ops.pme.sidebar_toggle(override_context('VIEW_3D'), action='HIDE'); bpy.ops.pme.sidebar_toggle(override_context('VIEW_3D'), action='HIDE', sidebar='PROPERTIES'); bpy.ops.pme.sidearea_toggle('INVOKE_DEFAULT', area='IMAGE_EDITOR', width=500)

❤️ 1 likes


🔗 View on Blender Artists