Thats what i thought so i used the actual query value before but it still wouldnt work. I'll try your method as well and see the results.
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/77a1c17b-26ca-439e-b3af-fdc2cb79d21d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.