Skip to main content

Manipulate Maya 3D Viewports.

Project description

Latest Version

MVP - Maya Viewport API

I really needed this…

This module exists to unify and pythonify the various commands and apis necessary to manipulate Maya’s 3D Viewports. These include, hardwareRenderGlobal attributes, modelPanel and modelEditor commands, as well as some key features of OpenMayaUI’s M3dView class.

from mvp import Viewport

view = = 'top'
view.background = 0.5, 0.5, 0.5
view.nurbsCurves = False


  • Unified api for manipulating Maya Viewports
  • Get or set viewport state (all attributes). Making it easy to restore a Viewport to a previous configuration.
  • Easily set focus and playblast Viewports. Much more consistent than using active view.
  • Draw text in Viewports using QLabels.
  • Show identifiers in viewports, making it easy to grab the correct viewport at a glance.



MVP is available through the python package index as mvp.

pip install mvp


git clone
cd mvp
python install


For more information visit the docs.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mvp, version 0.4.5
Filename, size File type Python version Upload date Hashes
Filename, size mvp-0.4.5-py2-none-any.whl (15.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size mvp-0.4.5.tar.gz (11.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page