You need to look at using confirmDialogues or prompt boxes, warnings are just that, a printed warning not intended to be used in any other way than to tell somebody somethings wrong.
On 10 April 2013 15:24, Daz <dariusz1...@gmail.com> wrote: > Heya > > I'm doodling another script... something to ease our work here in the > office... anyway I wanted to introduce warning system in to my workflow so > that if something error that was expected to, there would be a message that > an artist could read and and then act to it. For some reason when I run my > script if the error pops up he instantly disappear. Is there something I'm > missing? > > http://pastebin.com/LT459mP9 > > Thanks, bye. > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python_inside_maya+unsubscr...@googlegroups.com. > To post to this group, send email to python_inside_maya@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- ------------------------------------- Mark Jackson Technical Animation Director http://markj3d.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To post to this group, send email to python_inside_maya@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.