Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan Bruce dancbruce

View GitHub Profile
@chittyren
chittyren / pyAKBetterIncrementAndSave.py
Last active Jul 21, 2022
This Maya plugin overrides the default Increment and Save menu command to accept only scenes with the v[0-9]+ version pattern.
View pyAKBetterIncrementAndSave.py
"""
pyAKBetterIncrementAndSave.py
Alex Kline | dev[at]alexkline<dot>com
2020-02-19
http://blog.alexkline.com/2020/02/19/maya-better-increment-and-save/
This Maya plugin overrides the default Increment and Save menu command to accept only scenes with a valid v[0-9]+ version pattern.
In addition, it will also update the Version Label field in the render settings with a matching version.
See examples below, and blog post above for more information.
scenename_v001.ma -> scenename_v002.ma