figured out what it is if I do pm.rotate(0,45,0,r=1,os=1) its actually rotating 45 on x, not y..its thinking that first 0 is an object, but it still applies it to the selected node, so that is a bug
On Fri, Feb 26, 2016 at 7:33 AM, Todd Widup <[email protected]> wrote: > hmmm strange...anyways..in a list here, it errors. not sure whats going > on..oh well...was just trying to figure out if this was a bug or not > > On Fri, Feb 26, 2016 at 2:30 AM, Martin Y <[email protected]> wrote: > >> 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. >> > > > > -- > Todd Widup > Creature TD / Technical Artist > [email protected] > [email protected] > www.toddwidup.com > -- Todd Widup Creature TD / Technical Artist [email protected] [email protected] www.toddwidup.com -- 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/CABBPk37somKN6mCQtTK-N%2BnhbGYix8aeLHo5npi6yyDHfZHVeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
