Thanks, that's perfect. Here's what I would suggest - try removing as many lines as possible from this snipped without removing the problem. It will help you to narrow down exactly where the problem lies, and us in understanding what we're looking at.
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBfKW%3DFVmXwU%2B44nB17zR%2BTeV%3D0FZwQYhOpfctLjUXLgQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
