import maya.cmds as cmds

cmds.progressWindow(isInterruptable=1)

while 1 :

    print "kill me!"

    if cmds.progressWindow(query=1, isCancelled=1) :

        break

cmds.progressWindow(endProgress=1)

相关文章:

  • 2022-12-23
  • 2021-10-18
  • 2021-07-27
  • 2022-01-17
  • 2022-01-07
  • 2021-12-02
  • 2021-09-26
  • 2021-04-13
猜你喜欢
  • 2021-05-24
  • 2021-06-21
  • 2022-12-23
  • 2021-07-05
  • 2021-07-11
  • 2022-01-20
  • 2022-01-25
相关资源
相似解决方案