📋 Metadata

💬 Content

wilBr:

Hi, can someone point me how to force operator call to use override_context??? I need to call bpy.ops.object.np_020_point_move() from pme custom toolbar, but this throw context error.

Hi, try to use this code in Command tab:

bpy.ops.object.np_020_point_move(override_context(area='VIEW_3D', region='WINDOW'), 'INVOKE_DEFAULT', True)

All area types, all region types.


❤️ 1 likes


🔗 View on Blender Artists