1
$\begingroup$

I'm lost here, F.I.:

object_data.show_edge_crease

or

active_object.show_edge_crease

doesn't work...

Also, I wonder why isn't there an "add shortcut" option in the RMB menu for this kind of toggable elements?...

$\endgroup$
3
  • 1
    $\begingroup$ Try active_object.data.show_edge_crease or edit_object.data.show_edge_crease $\endgroup$
    – batFINGER
    Sep 27 '15 at 13:38
  • $\begingroup$ Thanks! that was it! So, there is no way to set a comment as the answer, right? $\endgroup$
    – Zafio
    Sep 27 '15 at 13:47
  • $\begingroup$ Made it an answer. I Must remember to "avoid answering questions in comments" $\endgroup$
    – batFINGER
    Sep 27 '15 at 14:00
1
$\begingroup$

The mesh is the data part of the active object hence,

active_object.data.show_edge_crease

or perhaps since it is the edit object:

edit_object.data.show_edge_crease

info area

Sliding down the info area header at the top to reveal the messages gives you the context paths.

As for part ii) of your question adding an "add shortcut" menu, sounds like a good idea. This can be "hacked" by overriding say the edit translations operator in the menu.

$\endgroup$

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.