0

I want to add an alert message to my python add-in(which will be like, when I click a button it will summon a warning message ). But I tried error message functions like : AddError, AddWarning and they just dont do anything.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Oct 17, 2017 at 13:46

1 Answer 1

4

As per the documentation, you have to use the pythonaddins.MessageBox().

pythonaddins.MessageBox("your error message", "Error", 0)

answered Oct 17, 2017 at 14:49

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.