Skip to content

OpenMaya in Jupiter Notebook  #7

@timkarlo

Description

@timkarlo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions