My guess is there is no MPxJoint, or easy way to subclass from a joint. There's a lot of types of nodes that simply aren't subclass-able using MPx*.
As for hikFKJoint - the hik* (human IK, I think) stuff is the stuff they ported from MotionBuilder, and isn't extensible. Probably a dead end. On Sun, Nov 19, 2017 at 3:11 AM Marcus Ottosson <[email protected]> wrote: > Hi all, > > I’m putting together a series of new nodes, including DG and transform > nodes, but can’t seem to find how to make joints. > > Here’s what I figured for a basic transform node. > > - basic transform.py > <https://gist.github.com/mottosso/76d43751cdba60a5053d18502302f0c6> > > This one is subclassing MPxTransform, and the DG nodes are subclassing > MPxNode. Now what do I subclass to make joints? :O > > I found that since Maya 2016, there’s is something that looks a lot like a > subclass from joints -“hikFKJoint > <http://help.autodesk.com/cloudhelp/2016/ENU/Maya-Tech-Docs/Nodes/hikFKJoint.html>“ > - but can’t find any example of it nor what it subclasses to become what it > is. > > I expected to find clues here > <http://help.autodesk.com/view/MAYAUL/2016/ENU/?guid=__cpp_ref_class_m_px_transform_html> > but aren’t.. > > Any ideas? > > > -- > 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/CAFRtmOBXVzwiJ9g02WkC6g%2BzYFueEF0112f4XpeZ5cVyaNz0uQ%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBXVzwiJ9g02WkC6g%2BzYFueEF0112f4XpeZ5cVyaNz0uQ%40mail.gmail.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/CAAssL7bx-w2k%3DctFt%2BjJ61XKat4Q_K99m28LvGT7gd3gCDYtLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
