This is silly, but I can't figure it out...

When I do this (and much more) in the GUI, it works fine.. the ball falls 
when I hit "Play".
When I try to do the same thing with the code below, it doesn't work.  It 
looks exactly the same in the Outliner & in the Attribute Editor, but no 
gravity.  Thoughts?

import maya.cmds as mc

mc.polySphere()
mc.rigidBody()
mc.select(clear=1)
mc.gravity()

-- 
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/c63567ec-5594-4076-a3cf-ae87b6a8c9cen%40googlegroups.com.

Reply via email to