Skip to content

Instantly share code, notes, and snippets.

View dancbruce's full-sized avatar

Dan Bruce dancbruce

View GitHub Profile
@chittyren
chittyren / pyAKBetterIncrementAndSave.py
Last active June 25, 2023 04:16
This Maya plugin overrides the default Increment and Save menu command to accept only scenes with the v[0-9]+ version pattern.
"""
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