terrachild
(terrachild)
1
Blender versions before 2.8 had a way for my scripts to add a menu item to ‘File>Import’ using the following line:
'bpy.types.INFO_MT_file_import.append(create_menu)'
The function ‘create_menu’ uses a class to open the file:
However, in 2.8 there is no ‘bpy.types.INFO_MT_file_import’.
What to do?
Thanks.
rdb
(rdb)
2
I think you are looking for bpy.types.TOPBAR_MT_file_import
.
terrachild
(terrachild)
3
You are correct. I guess the entire ‘bpy.types.INFO_…’ got moved due to the interface change.
Thanks, I couldn’t find where it went.