Blender has a lovely system for creating new shortcuts. Can anyone advise me on the code for the "Mark seams" operation? Bonus points for the button-toggle (one button to mark/unmark).

  • $\begingroup$ Two buttons, but you have that on the toolshelf, 'shading/UV' tab. For the shortcut Ctrl+E then choose in the list $\endgroup$ – lemon Feb 19 '17 at 17:55
  • 1
    $\begingroup$ You may also assign your own buttons to these operations in the same manner as here: blender.stackexchange.com/questions/36894/… $\endgroup$ – Paul Gonet Feb 19 '17 at 17:57
  • $\begingroup$ Paul Gonet deserves a plus because he actually showed hot to create the shortcut (even by just pointing to the solution). U wana post an answer? $\endgroup$ – cubrman Feb 19 '17 at 18:29

Press Ctrl+E and choose "Mark Seam" or "Clear Seam" from the list. Then, in order to add a shortcut, you can do as explained here: How to assign a keyboard shortcut for a mesh selection mode?

  • $\begingroup$ Please aprove my edit to your answer. $\endgroup$ – cubrman Feb 19 '17 at 18:50
  • $\begingroup$ Btw, for anyone concerned, there indeed seems to be no way for a one-button solution. You would need separate buttons for mark and clear. $\endgroup$ – cubrman Feb 19 '17 at 18:55

If you are ready to invest a bit more work (Like I did for my Spacemouse Pro), you can also create a Pie Menu with mark and unmark, so you just need to press a key and move the mouse.


Code you will need is:

pie.operator("mesh.mark_seam", text="Mark Seam", icon='EDGESEL')

pie.operator("mesh.mark_sharp", text="Clear Seam", icon='MESH_CUBE').clear=True

Instead of the sample code with pie.operator_enum...

To register it as an add-on to keep it permanent just use the code below on top of your script

bl_info = {
    "name": "Mark Seam Pie Manu",
    "description": "Edit mode Edge Menu",
    "author": "...",
    "version": (0, 1, 1),
    "blender": (2, 79, 0),
    "location": "3D View",
    "warning": "",
    "wiki_url": "",
    "category": "Pie Menu"

If i understood the question you want to add shortcut for mark seam

In Edit Mode -> Select the Edge and Press Ctrl+E

enter image description here

and how over the mouse and press right click and select Change shortcut

enter image description here

As soon as u click on change shortcut u get a pop-up press a key

enter image description here

I have selected the dot button from left of the keyboard

Now open user preferences and click the save user settings so that next time when you open blender mark seam setting will not disappear.

enter image description here

  • $\begingroup$ If you copy the entrance at the userpreferences in input/3DView/Mesh you can add even more than one shortcut for the same action (as i recently learned here). This solution is the most simple one you could get! $\endgroup$ – M. Matz May 31 '18 at 15:45

In addition to the other answers. what i do is use CTRL + E then mark seam on one edge then for the rest i use SHIFT + R which repeats the last actions. So if you do anything other than selecting the edges like say add another edge loop you need to mark one seam again and then use shift + R to repeat. hope this helps someone, i know this is an old question.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.