MoI discussion forum
MoI discussion forum

Full Version: Some things small for the version 5 wish list

Show messages:  1-3  4-23  24-43  44-49

From: fcwilt
11 Aug   [#44] In reply to [#43]
Hi Michael,

Thanks for the feedback.

Sounds like a simple but good system for generating the incrementing suffix.

Frederick
From: Michael Gibson
11 Aug   [#45] In reply to [#44]
Hi Frederick, you could also do this to automate putting on the suffix.

If you use this attached version when you want to start making snapshots, it will look if the current filename has the suffix 'Snap xxx' (where each x is a numeric digit) and if it does it lets regular IncrementalSave handle it, if it doesn't have it it will add in 'Snap 000' to start it off.

- Michael

Attachments:
IncrementalSaveSuffix.js


From: fcwilt
11 Aug   [#46] In reply to [#45]
Hi Michael,

You are the best! When v5 comes up I may have to buy 20 licenses!

I have it working but I would like a somewhat different way but it may not be possible.

I found myself doing incremental saves often, so I could backtrack as needed.

But this makes entry after entry into the list of recent files and pushing files I would like to have remained off the list.

Is there now (or in the future) a way to:

- Save the current file again, the file was created initially with just an version number at the end - no change to the name when saving - just like a "normal" save.

- Also save a backup with suffix in a directory, specified somewhere in the options, so I have my "snapshots" for backtracking as needed.

- Also not add the backup files to the recent file list.

This is what I am used to with my favorite programming editor and I find it works well and it wouldn't fill up the recent file list.

For now the IncrementalSave and the improved version is a big help.

Thanks much.

Frederick
From: Michael Gibson
11 Aug   [#47] In reply to [#46]
Hi Frederick,

re:
> - Also not add the backup files to the recent file list.

There isn't any way currently to not have the file get added to the recent file list, but I will set up a way to do that.

The way it will work is by giving an option to the incrementalSave() and saveAs() calls.

So in IncrementalSaveSuffix.js line 51 where it currently has:
code:
moi.geometryDatabase.incrementalSave();

you would give it the option to not put it on the recent files list by giving it a 'nomru=true' option like this:
code:
moi.geometryDatabase.incrementalSave( 'nomru=true' );


And on line 70 in IncrementalSaveSuffix.js where it currently has:
code:
moi.geometryDatabase.saveAs( path_with_suffix );

you would do this:
code:
moi.geometryDatabase.saveAs( path_with_suffix, 'nomru=true' );


- Michael
From: fcwilt
12 Aug   [#48] In reply to [#47]
Hi Michael,

We need a way to make donations to your company.

I would jump on that in a heartbeat.

PayPal makes it easy for me as I can setup recurring payments.

Something to think about.

Frederick
From: shayno
16 Aug   [#49]
Hi Michael
please add to the wishlist that I would use every day
Array object to curve with history enabled by default
That would be a game changer for me
cheers
shayne

Show messages:  1-3  4-23  24-43  44-49