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
    Commented Sep 27, 2015 at 13:38
  • $\begingroup$ Thanks! that was it! So, there is no way to set a comment as the answer, right? $\endgroup$
    – Zafio
    Commented Sep 27, 2015 at 13:47
  • $\begingroup$ Made it an answer. I Must remember to "avoid answering questions in comments" $\endgroup$
    – batFINGER
    Commented Sep 27, 2015 at 14:00

1 Answer 1

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$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .