# Blender 2.8 - Add view 3d menu

**URL:** <https://blenderartists.org/t/blender-2-8-add-view-3d-menu/1137302>\
**Category:** Python Support\
**Created:** [December 6, 2018, 11:18am UTC](https://blenderartists.org/t/blender-2-8-add-view-3d-menu/1137302 "2018-12-06T11:18:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AFWS](https://blenderartists.org/user_avatar/blenderartists.org/afws/32/524395_2.png) [@AFWS](https://blenderartists.org/u/AFWS)\
**Post date:** [December 6, 2018, 12:02pm UTC](https://blenderartists.org/t/blender-2-8-add-view-3d-menu/1137302/2 "2018-12-06T12:02:45Z")

</div>

What you have works. It places it after the Shading overlays. Append places at the end and prepend places at the beginning. As far as trying to get it in a specific location. The only way to prolly do that is edit the main .py file.

```auto
import bpy

class VIEW3D_MT_menu(bpy.types.Menu):
    bl_label = "Test"

    def draw(self, context):
        self.layout.operator("mesh.primitive_monkey_add")

def addmenu_callback(self, context):
    self.layout.menu("VIEW3D_MT_menu")

def register():
    bpy.utils.register_class(VIEW3D_MT_menu)
    bpy.types.VIEW3D_HT_header.append(addmenu_callback)  

def unregister():
    bpy.types.VIEW3D_HT_header.remove(addmenu_callback)  
    bpy.utils.unregister_class(VIEW3D_MT_menu)

if __name__ == " __main__":
	register()

```

---

_[View the full topic](https://blenderartists.org/t/blender-2-8-add-view-3d-menu/1137302)._
