PythonForMayaSamples
PythonForMayaSamples copied to clipboard
OpenMaya in Jupiter Notebook
In - Jupiter Notebook - I set the path to: sys.path.append ("C:\Program Files\Autodesk\Maya2022\Python37\Lib\site-packages")
run this: import maya.OpenMaya as om worldOrigin = om.MVector(0,0,0)
but error came:
AttributeError: module 'maya.OpenMaya' has no attribute 'MVector'
What I am doing wrong?