📋 Metadata
- Author: roaoao
- Date: 2020-10-30 12:46:28
- Type:
answer - Reply to: post_03631
- Replies (1): post_03656
💬 Content
anphung:
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.
Vertex and Edge mode (both are active):
return C.scene.tool_settings.mesh_select_mode[0] and C.scene.tool_settings.mesh_select_mode[1]
Vertex or Edge mode (one of them or both are active):
return C.scene.tool_settings.mesh_select_mode[0] or C.scene.tool_settings.mesh_select_mode[1]
❤️ 3 likes