Post #4824: Double nevermind: So, it’s the right code, but simply doesn’t seem to work? Has
📋 Metadata
- Author: Michael_Knubben
- Date: 2023-09-06 07:07:45
- Type:
question - Quality Score: 5/10
- Replies (1): post_04825
🏷️ Tags
python-scripting intermediate unsolved
⚙️ Related PME Features
- Python Scripting
- Pie Menu Editor
- Poll Methods
💬 Content
Double nevermind: So, it’s the right code, but simply doesn’t seem to work? Has anyone tried this?
Nevermind, I had a typo
Does anyone know what the UV equivalent is to this Poll Method: return C.scene.tool_settings.mesh_select_mode[0]?
I tried replacing mesh with uv, which didn’t work, but otherwise don’t really know where to look this up, as even copying the python operator gives you a result that doesn’t match the one up there.
Hmm, according to this it is uv_select_mode, but using it returns an error: https://docs.blender.org/api/current/bpy.types.ToolSettings.html#bpy.types.ToolSettings.uv_select_mode
