• Dummy Article For Plugin Page

Archiver    v2.2

  • Overview
  • Release Notes

Copyright 2005-2014, TIG
Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided the above copyright notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Name : Archiver
Description : A tool to Archive Models
Menu Item : File > Archiver || Open_Archives || Archive_Option
Context Menu: None

Usage :
Pick 'Archiver' to make an archive copy of the current model.
It saves the model (in its current state) into a sub-folder within the model's folder called 'Archives'.
It's named with a [suffix] date (yy-mm-dd_hh-mm-ss), e.g. Model[14-12-18_12-34-56].skp.
The separators can be customized from '-' to '_' etc, just change one line sep="-" to sep="_" etc...
If later on you don't save the main model with those changes then that archive copy still has those changes current at the time of the archiving.

If there is an 'Archives' folder then an extra 'File' menu item is added "Open Archives"...

'Archive Option' is an additional function that saves the model as it stands, say 'Model.skp': then it makes an archive of it, say 'Model[14-04-16_12-25-05].skp' and then opens a 'save_as' dialog in which it will have preset the next available unused Option name, say 'Model[Option-01].skp', which you are prompted to save_as: you can choose to overwrite an earlier option if desired, if so you are warned about overwriting it.
The Option SKPs are kept in the same folder as the original.
It is recommended that you do not change the naming convention...
The model is then saved.
The current SketchUp window then shows this latest Option SKP as the one you are working on...
Option SKPs can be archived in the same way as other models, in the example above the archive's name might then be 'Model[Option-01][14-04-16_12-30-55].skp'...
If you subsequently use 'Archive Option' on an 'Option' itself it then names the new Option with the next available free Option name, in this case it would 'Model[Option-02].skp' and the process repeats...
It uses the [-] characters as separators so don't change the Option's name if you want it to be recognized as one by 'Archive Option'.

1.1 18/12/05 First issue.
1.2 27/12/05 Typo corrected in dialog path.
Username added to archive name.
1.3 27/12/05pm Unsaved model error trapped.
Menu typo corrected.
1.4 27/12/05pm+ Suffix options added you (sep="-").
Moved to 'File>Archiver' menu,
also 'File>Open Archives' menu added.
1.5 28/12/05 Suffix separator options changed.
Suffix 01 v. 1 etc corrected.
Model Name removed from 'Open Archives' menu item.
Open Recent FilePath bug fixed.
1.6 06/04/09 Glitch fixed on model diectory NOT being set...
1.6x Ruby Console output added, for Mac glitch tester.
1.7 07/04/09 User suffix option removed. Now fully Mac/PC compliant.
'Open Archives' now selects last skp in folder as default.
1.8 15/04/09 'Archive Option' added.
1.9 16/04/09 'Archive Option' now saves original model first,
tmp files duting processing now have 'time' as their name.
2.0 17/04/09 Mac glitch with 'Archive Option' fixed.
2.1 20140317 Made compatible with v2014.
2.2 20140326 Minor coding tweaks.