在cg制作过程中为了提高制作效率我们往往会使用maya的后台批量功能,今天就给大家介绍一个maya后台批量拍平的脚本工具:
#!usr/bin/env python
# -*- encoding: utf-8 -*-
"""
@author:MCC
@file: mainWindows
@time: 2018/11/22 19:02
"""
import sys
import os
import subprocess
#from qss import uiQss
from PySide import QtGui as QtWidgets
from PySide import QtCore
from PySide import QtGui
#QtCore.QCoreApplication.addLibraryPath(os.path.join(os.path.dirname(QtCore.__file__), "plugins"))
import mouseDragEvent
MAYABATCHPATH = r'D:/Autodesk Maya/Maya2018/bin/mayabatch.exe'
class MainView(QtWidgets.QDialog):
def __init__(self, parent=None):
super(MainView, self).__init__(parent)
self.setWindowTitle('Export playBlast')
self._mainUI()
def _mainUI(self):
resultLButton = QtGui.QPushButton(u'确定')