the information that I am getting seem a bit muddied What information *have* you been getting? Also, where are you finding that function? Your example doesn’t work for me, and looking through the source <https://github.com/LumaPictures/pymel/search?utf8=%E2%9C%93&q=orientjoint&type=> doesn’t bring anything up.
Can I ask why use pyMel, when you have a much faster and more pythonic API, om2? For what? We don’t even know what it is he’s trying to accomplish? What if it’d actually be slower, and less Pythonic? There’s no way of telling at the moment. Or are you just generally touting “om2” (which I presume means maya.api.OpenMaya) as a replacement for anything involving PyMEL? On 19 November 2017 at 10:07, Simon Anderson <[email protected]> wrote: > Can I ask why use pyMel, when you have a much faster and more pythonic > API, om2? > > On Sunday, 19 November 2017 06:11:28 UTC+11, Tom Whitzer wrote: >> >> I am curious if anyone could provide me with an example of the the >> orientJoint() function in PyMel. I have been searching online to see how to >> properly use it, and the information that I am getting seem a bit muddied. >> I can't tell if orientJoint is actually a function or if it is a flag that >> I call when I create a joint. Sorry if this is an obvious thing to know. >> >> Some of the code that I was trying was: >> >> from pymel.core import * >> >> parent = selected()[0].root() >> orientJoint(parent) >> > -- > 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/bf176251-d9db-4792-a460- > 9e89f7232ea3%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/bf176251-d9db-4792-a460-9e89f7232ea3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAFRtmOC31hq3ELwS%3D76phZ%3D%3DWvt%3D%2B68vyLizbEyWJge8GO9-KQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
