maya cmds pymel undoInfo chunk 撤销束cmds.undoInfo(openChunk = 1)# your codecmds.undoInfo(closeChunk = 1)这样,在两行 chunk 之间的可撤销 cmds 命令都会被封装成一个undo