Incremental Save

That is realy space :confused:
But with previous version that was working ?

I have a request similar to this i think, I dont think it exists (cant check as i’m at work right now) but would it be possible to save the file and it pulls the time and date from your local machine

example - gun_model_DD_MM_YY_HHMM
example - gun_model_30_12_14_1246

Thanks.

with a previous version of your addon, yes :frowning:

okay, i just tried it once again and now it suddenly works :open_mouth:
i will test it and let you know how it is going :slight_smile:
many thanks again for coding!!

if i name my file untitled001 the addon makes it untitled001001 btw

@actimelvanille: and if you use 002 or 01 or 1 ?
Thx for testing :slight_smile:

@Trikz: I will do that for you :wink:

I think I will implement a popup with some options like choose between ‘_’ or not, date or number, etc.
What do you think about that ?

if i name the file abc_01 and use the addon i get abc_01_001
_001 > _001_001
_01 > _01_001

it seems like no matter what i add it always adds its own _00* and then increments this

Ok this may work now. Can you try it ? Thanks.
https://github.com/lapineige/Blender_add-ons/blob/master/IncrementalFileSave_v1-5.py

for some reason installing won’t work again :confused:
it doesnt create a incrementalsave.pyc file … does it have to do something with this?
is it supposed to be working with 2.72 btw?

Yes, and even with 2.6 if you want :slight_smile:

Again by hand and with the ui button, it does not work ?
Even with another Blender ?

hm, i just tried it with 2.73 and by hand but nothing works :frowning:

What is your OS ?

I’ve got Windows 7

Sorry I realy don’t know what’s wrong. If you try with another add-on or with the default template, all is fine ?

for some reason it works now … i’m really sorry
dont know what went wrong

but now i’ve got it installed :slight_smile:

and if i name my file test01.blend it even makes it test02.blend ^^
the problem is that it only works once … if i save again i get an error message

Internal Error: trying to save over an existing file. Cancelled

the same happens with all namings like _001 _01
i can only save once for some reason

Yeah !
But that’s strange, exactly the same thing like previous issue…

For the internal error, it’s not a blender or script issue.
It’s a protection I made to avoid writing on existing file, for example in case of you deleted myblend002, but not 003, it will not erase myblend003.
Also usefull if my script encounter a bug ^^
So you have just the basic file ?
Open the console, what did he say about that ?

what do you mean by “So you have just the basic file ?”
in the cosole it says:

info: file: untitled_002.blend - created at: C:\christian
tested output: c:\users\christian\untitled_002.blend

I mean: in the directory, you just have the main file, untitled.blend ?

it works the same in different locations with different file names.
is that what you mean? :slight_smile:

I mean: in the directory, you just have your file, no _XXX.blend or something like that ?

sorry for the late reply lapineige!!
when i try e.g. untitled_test.blend - i get untitled_test_001.blend
if i save again then i get untitled_test_2.blend … untitled_test_2.blend

if i name it untitled_test_001.blend i get untitled_test_002.blend and if i try to save again i get Internal Error: trying to save over an existing file. Cancelled