Selecting a Tool in Blender 3.6 using the Blender Python API
To switch the active tool using the Blender Python API, we must use the wm.tool_set_by_id operator, passing the identifier of the required tool in its parameter. In earlier versions of Blender, to call this operator from an area with a different context, for example, from the Text Edit area, it was necessary to override the context.
Read more: https://b3d.interplanety.org/en/selecting-a-tool-in-blender-3-6-using-the-blender-python-api/
Комментарии
Отправить комментарий