摘要:
阅读全文
摘要:
'''Usage:def timerTest(): print 'Hello World!'#create and start a timertimer = Timer(30, timerTest, repeat=True)timer.start()#To stop the timertimer.stop()'''import threadingtry: from maya.utils... 阅读全文
摘要:
# -*- coding: utf-8 -*-'''Created on 2013-11-26@author: Chengshaoling'''import win32clipboard as w32import win32conclass OperateClipboard(object): def __init__(self): # print "OperateCli... 阅读全文
摘要:
Maya 2011 – 2013 64-bit: maya-64-bit-pywin32.zipMaya 2011 – 2013 32-bit: maya-32-bit-pywin32.zipMaya 2014: maya-pywin32.zip http://www.staschi.com/script/dualview/ pywin32-218-maya2013-python2... 阅读全文
摘要:
import oscmds.window()scrollLayout = cmds.scrollLayout(w=150)cmds.gridLayout( numberOfColumns=30, cellWidthHeight=(30, 30) )for a in cmds.resourceManager(nameFilter="*.png"): cmds.symbolButton (ima... 阅读全文
摘要:
Most tutorials online have suggested the way to fire commands inside QT interfaces launched n Maya (via cmds.loadUi – not involving pyQT) is to add a string property like: +command="myPythonInstance.... 阅读全文