API 2.0 doesn't seem to have MItDag You are allowed to use both apis as long as you don't mix objects. So depending on what you need to do, you could use MItDag from api 1.0
On Thu, Jan 31, 2013 at 4:01 AM, Sune <[email protected]> wrote: > Hi, > > I a Maya API noob. I'd like to something like the following, but with 2.0 > API: > > import maya.OpenMaya as OpenMaya > dagIt = OpenMaya.MItDag(OpenMaya.MItDag.kDepthFirst, > OpenMaya.MFn.kTransform) > > Possible at this point? > > -- > 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 post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
