Post #277: Hi, rhyging5.

📋 Metadata

🏷️ Tags

pie-menu popup-dialog hotkeys intermediate solved

  • Pie Menu Editor
  • Property Editor
  • Popup Dialog Editor
  • Command execution

💬 Content

Hi, rhyging5.

rhyging5:

I having some troubbles with a pie menu in the UV editor. I would to add “stretch” display option, as well the four types of displaying (outline,dash,white,black). Is possible to add them?

Yes, looks like youhave to add some buttons from UV editor manually.

Use this path in Property tab for “stretch” option:

C.space_data.uv_editor.show_stretch

Use one of these lines in Command tab for displaying type:

C.space_data.uv_editor.edge_draw_type = 'OUTLINE'
C.space_data.uv_editor.edge_draw_type = 'DASH'
C.space_data.uv_editor.edge_draw_type = 'WHITE'
C.space_data.uv_editor.edge_draw_type = 'BLACK'

rhyging5:

Also, I would to add the property “deform” bones for a pie menu. Untill the moment I get it only working in edit mode, but not for pose mode. Is possible the same property to work for both modes?

Use this path in Property tab:

C.active_bone.use_deform

rhyging5:

At last, there is some possibility to hold a pie menu after using some of its buttons? That possiblity allows us to use a slider and then a related command for example, without opening the same pie menu a couple of times, which is cool :slight_smile:

Unfortunately it’s not possible. But you can use popup dialogs in

for that.


🔗 View on Blender Artists