No, you're not doing anything wrong.  Autodesk added the python API 2.0 a
few years ago, and left out the iterator classes entirely.  With 2016, they
brought back some of them, but MItDependencyNodes is not one of the ones
they brought back yet.

If you want to use it, you'd have to go to API 1.0, which is admittedly
more painful to use (it's pretty much a direct port of the C++ API,
complete with pointers etc).  I've done it before, basically handling the
functionality I needed in API 1.0 and then bringing the MObjects across by
name to the 2.0 API before returning them.  With that said, if you just
need them for a function, it's not too bad to put just that function in API
1.0.

On Sun, 10 Dec 2017 at 11:35 David Lantos <[email protected]> wrote:

> Hi Everyone!
>
>
> I found MItDependencyNodes
> <http://help.autodesk.com/cloudhelp/2016/ENU/Maya-SDK/py_ref/class_open_maya_1_1_m_it_dependency_nodes.html>
>  class
> in the maya documentation but not in the maya.api.OpenMaya module.
>
> It looks like this particular class is missing. I did wrong something? I
> checked it on Maya 2016 SP6.
>
>
> David
>
> --
> 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/e4ec9cb7-b868-441b-8631-bb569725a980%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/e4ec9cb7-b868-441b-8631-bb569725a980%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/CAM33%3Da7TX50H-pz_yaUHurHz%3DanU8eFd0LUg1g0vDgX_VrzVZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to