📋 Metadata

💬 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


🔗 View on Blender Artists