Hi,
I just started with the maya api.
Most learning sources I found are written in 1.0 API which is in general fine as so far I always managed to find a way to write the same thing in 2.0 API.
But now I’m really struggling with the following line
1.0 API
up = om1.MGlobal.upAxis()
which returns a vector
if I do the same thing in the 2.0 API
up = om2.MGlobal.upAxis()
I get this error: ‘OpenMaya.MGlobal’ has no attribute ‘upAxis’
Does anyone know what I’m doing wrong here?
Thanks!
).