Hi guys,
Say I had created 5 discs in my scene, disc0, disc1, disc2, disc3, disc4
I want to select the discs and add the to a list. I tried this out:
pegA=[]
pegA.append(cmds.select('disc*')
print pegA
But it didn't work! It printed [None]
Any ideas on how else I could do this?
Thanks guys!
--
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/e6adc889-906c-46ec-b900-aa9e757691e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.