cmds.undoInfo(openChunk = 1)

# your code

 

cmds.undoInfo(closeChunk = 1)

 

这样,在两行 chunk 之间的可撤销 cmds 命令都会被封装成一个undo

相关文章:

  • 2021-08-16
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2022-02-03
  • 2021-07-01
  • 2022-12-23
猜你喜欢
  • 2022-01-25
  • 2021-05-24
  • 2021-07-20
  • 2021-07-05
  • 2021-07-11
  • 2022-01-20
  • 2021-10-18
相关资源
相似解决方案