📋 Metadata
- Author: roaoao
- Date: 2020-07-02 05:42:43
- Type:
answer - Reply to: post_03380
💬 Content
vchia:
I wonder if I can use similar code like
pme.layout = L.box().column(align=True); bpy.types.VIEW3D_MT_add.draw(pme, C)
for
bpy.ops.sfc.primitives_popup()
Not sure. Try this code:
pme.layout = L.box().column(align=True); bpy.types.SFC_primitives_popup.draw(pme, C)
To find the type name (SFC_primitives_popup) call this code in Blender’s console editor:
bpy.ops.sfc.primitives_popup.idname()
❤️ 2 likes