Post #3651: : post_03656
š·ļø Tags
macro scripting intermediate solved
āļø Related PME Features
- Macro Editor
- Python Scripting
š¬ 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