In pm you need to put the coordinates in a list or tuple. pm.rotate((0,45,0), os=True, r=True) pm.rotate([0,45,0], os=True, r=True)
works fine pm.rotate(0,45,0, os=True, r=True) doesn't. I tried the pymel examples where they aren't using lists or tuples and it doesn't work here even when I'm using the same pymel version. I guess the pymel examples in the manuals are outdated. Martin On Friday, February 26, 2016 at 7:45:54 AM UTC+9, [email protected] wrote: > but the point is...try teh commands...pymel is rotating a node differently > than maya.cmds or mel -- 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/7234f8b3-528d-495e-ad39-755d5a9224ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
