Skip to content

OpenMaya in Jupiter Notebook  #7

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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