I have an operator with couple EnumProperty properties, all of them enumerate the same item list. I'd like to know which property changed on execution from layout.operator_menu_enum().

With simple layout.operator() I can set it's property like this layout.operator(...).some_property = "value", can I do something similar with operator_menu_enum?


Not Currently.

(2.79. sept 12-2017) operator_menu_enum(....) doesn't return the operator reference, so assigning something to layout.operator_menu_enum(....).some_property='something' will fail.

would be super handy if it did.


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.