StyleMaya

This is work in progress. If you have any feedback please mail me at contact@josbalcaen.com

StyleMayaGif

Apply a stylesheet to Maya

Category: Free work
Downloadable: Yes

This script applies a stylesheet to Maya via PyQt. This stylesheet is fully customisable. More info to edit the stylesheet on the Qt site; http://qt-project.org/doc/qt-4.8/stylesheet-examples.html

Setup

  • Download  and save this script in Maya’s script path (C:\Users\Jos\Documents\maya\scripts\StyleMaya.py).
  • To run it, execute this code in the script editor. 
    import StyleMaya; StyleMaya.applyStyleSheet()
  • To run this script at startup add this code to your userSetup.py file (C:\Users\Jos\Documents\maya\scripts\userSetup.py). Create if it doesn’t exists.
    import maya.cmds as cmds
    cmds.evalDeferred("import StyleMaya;StyleMaya.applyStyleSheet()")
    

Requirements

Maya 2008 and up and PyQt4 needs to be installed.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>