Message 1 of 3

Not applicable
07-25-2018
07:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
So, I am a student trying to code a plugin for Maya for my final project.
I'm using almost exclusively OpenMaya, because honestly, I find MEL a readability nightmare.
I need to access current Euler Rotation Values on a DAG Node
jointMatrix = jointDagNodeFn.transformationMatrix() rotList = [] rotList = jointMatrix.rotationComponents(asQuaternion=True)
I get this error:
AttributeError: file S:\Maya_2016_DI\build\Release\runTime\Python\Lib\site-packages\maya\OpenMaya.py line 54: rotationComponents
The most similar errors I can find online is a bug report here.
I'm using Maya 2016.
Can anyone give me advice on how to progress?
Is my syntax incorrect somehow?
Am I simply accessing the function incorrectly?
Or if it's a genuine bug in the API, how on earth do I work around that?
Solved! Go to Solution.