Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/b/l/blenderpython-HEAD/scripts/addons_extern/oscurart_copy_mirror_constraints.py   blenderpython(Download)
def register():
    bpy.utils.register_class(OBJECT_OT_add_object)
    bpy.types.VIEW3D_MT_pose_constraints.append(add_object_copy_mirrcns_button)
 
 
def unregister():
    bpy.utils.unregister_class(OBJECT_OT_add_object)
    bpy.types.VIEW3D_MT_pose_constraints.append(add_object_copy_mirrcns_button)