📋 Metadata

💬 Content

pitiwazou:

That works when using the button in view or with the search, but not with the code.

bpy.ops.screen.area_dupli()

This is weird.

Try to add INVOKE_DEFAULT flag:

bpy.ops.screen.area_dupli('INVOKE_DEFAULT')

🔗 View on Blender Artists