I think I see your problem with accessing the slerp function. There are two Maya Python "OpenMaya" APIs. The old one (1.0) is maya.OpenMaya. maya.OpenMaya.MQuaternion does not have a slerp function. The new one (2.0) is maya.*api*.OpenMaya. maya.api.OpenMaya.MQuaternion does have slerp. The new OpenMaya is much better than the old one in most respects, but they are not compatible so if you have to interface with old scripts using the old API you have to use string node names instead of MFn objects.
On Tuesday, 19 September 2017 17:06:20 UTC+10, Rémi Deletrain wrote: > > I do not know why I do not have access ... :( > I try with Maya 2014, et 2018... > > I'll try to prepare a scene and script that goes with it in the day. > > thank you very much for your help ! > > -- 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/823684d0-2757-461c-a04c-0590e83e72a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
