摘要: 阅读全文
posted @ 2014-08-06 02:30 Jonn. 阅读(224) 评论(0) 推荐(0) 编辑
摘要: '''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... 阅读全文
posted @ 2014-08-03 02:34 Jonn. 阅读(1134) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-'''Created on 2013-11-26@author: Chengshaoling'''import win32clipboard as w32import win32conclass OperateClipboard(object): def __init__(self): # print "OperateCli... 阅读全文
posted @ 2014-07-09 15:02 Jonn. 阅读(943) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-07 14:02 Jonn. 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-04 11:55 Jonn. 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 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.... 阅读全文
posted @ 2014-07-02 14:34 Jonn. 阅读(332) 评论(0) 推荐(0) 编辑