不知道是不是选择的问题,每次都是一下子全导出去了。
import maya.cmds as cmds
cmds.loadPlugin('AbcExport.mll')
cmds.loadPlugin('AbcImport.mll')
print start,end
from PySide2.QtGui import *
from PySide2.QtCore import *
from PySide2.QtWidgets import *
class ExportABC(QDialog):
def __init__(self):
super(ExportABC, self).__init__()
self.main_layout=QHBoxLayout()
self.path_label=QLabel('Export Path:')
self.path_eidt=QLineEdit()
self.path_btn=QPushButton('...')
self.path_btn.clicked.connect(self._getpath)
self.export_btn=QPushButton('OK')
self.export_btn.clicked.connect(self._export)
self.main_layout.addWidget(self.path_label)
self.main_layout.addWidget(self.path_eidt)
self.main_layout.addWidget(self.path_btn)
self.main_layout.addWid