• Dummy Article For Plugin Page

Save_all_components    v1.1

  • Overview
  • Release Notes

Copyright 2014 TIG (c)
All rights reserved.
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.

Usage:
Plugins menu or Ruby Console:

TIG.saveallcomponents

If the model has never been saved then nothing happens !
Otherwise all components in the model are saved into a folder made with the
model named, 'ModelName_Components'
If a component is nested and not available as a stand-alone component then it is
put into a subfolder named after its parent component's definition: if it is
used in several components it is duplicated in appropriate subfolders.
If a component's name contains unsuitable characters for a saved SKP name
[e.g. / or :], then those characters are substituted [with "_"],
if a component name is already used it is incremented, so #0 >>> #1 etc.
Progress/success/failure is reported in the Ruby Console.
On completion the 'ModelName_Component' folder is opened.

1.0 20140625 First issue.
1.1 20140626 Illicit character trapping improved.