Timeline for How to add a custom object entry to the add menu?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2016 at 17:58 | review | Low quality posts | |||
Jul 2, 2016 at 20:26 | |||||
Jul 2, 2016 at 17:57 | history | edited | Ray Mairlot | CC BY-SA 3.0 |
quote and code formatting
|
Dec 16, 2014 at 21:45 | comment | added | anonb | Finally it's working.Thanks to kesonmis.It seems that the iussue was with some changes with blender 2.72.As kesonmis pointed bpy.ops.wm.link_append is wrong now it's donw by bpy.ops.wm.link() or bpy.ops.wm.append() so here is the final code working for those who will need such script too. pastebin.com/vk7we7KU | |
Dec 9, 2014 at 10:47 | comment | added | anonb | Thanks,Sambler, I did that change and wow.It's getting closer now finally I can see the button in the menu when I hit the shortcut to add the new scene. the problem is that it's giving me an error in line 38 that I quite don't understand.I named in the description the file to import Scene in that like cause it's named scene in the blend file scene folder. I attach the pick of the error imgur.com/9GDfzh8 | |
Dec 9, 2014 at 6:23 | comment | added | sambler |
On line 43 you want OBJECT_OT_addSubmarine.bl_idname not mesh.addsubmarine.bl_idname
|
|
Dec 8, 2014 at 22:36 | history | edited | anonb | CC BY-SA 3.0 |
added 700 characters in body
|
Dec 8, 2014 at 20:21 | comment | added | Chris Dunaway |
Looking at your code, it looks like you forgot to change menu_func to menu_item in the register method.
|
|
Dec 8, 2014 at 13:11 | history | edited | anonb | CC BY-SA 3.0 |
edited body
|
Dec 8, 2014 at 13:06 | history | edited | anonb | CC BY-SA 3.0 |
edited body
|
Dec 8, 2014 at 12:56 | review | First posts | |||
Dec 8, 2014 at 13:20 | |||||
Dec 8, 2014 at 12:51 | history | answered | anonb | CC BY-SA 3.0 |