Post #1457: ![](https://blenderartists.org/user_avatar/blenderartists.org/wilbr/48/810837_2.

📋 Metadata

🏷️ Tags

macro scripting advanced solved

  • Macro Editor
  • Custom Icons
  • Python Scripting

💬 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