Useful Dialogs

Demonstrates how to show information, error and question dialogs.

Win = Windows()
Win.InfoDialog('I am about to create a part', 'My Script')
Win.ErrorDialog("Oops. That didn't go as planned", 'My Script')
# returns True for 'yes' and False for 'no'
print Win.QuestionDialog('Shall I stop?', 'My Script')

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.