Post #3631: return C.scene.tool_settings.mesh_select_mode[0]

šŸ“‹ Metadata

  • Author: anphung
  • Date: 2020-10-24 06:35:20
  • Type: question
  • Quality Score: 5/10
  • Replies (1): post_03651

šŸ·ļø Tags

macro python-scripting beginner

  • Macro Editor
  • Python Scripting

šŸ’¬ Content

return C.scene.tool_settings.mesh_select_mode[0]

How would you add another select mode to this code? ā€œ1ā€ for example.
I’m trying to make a macro that only works in vertex & edge mode.


šŸ”— View on Blender Artists