Ad banner place

Browse, install and update extensions directly in SketchUp with Sketchucation Tools
Download Now

  • Dummy Article For Plugin Page

Set_Layer    v1.2

  • Overview
  • Release Notes

(c) TIG 2015

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 any particular purpose.

Usage:
Adds a Context-menu item 'Set_Layer...' if the current Selection contains something other that 'Geometry' [Edges/Faces] e.g. Group, Component, Image, Text.
This opens a dialog showing the selection's Current Layer - e.g. 'Layer0' in
its top bar: if there are multiple layers it says ***Various***.
It opens with two choices - an empty text-field and a drop-down list
of all existing Layers by name [this list is sorted like the native Layer
dialog, ignoring case - so Layer0,a,B,C,d... NOT Ruby's usual Layer0,B,C,a,d...;
note how Layer0 is always first in the list].
Clicking OK will change all Selected non-Geometry to have the chosen Layer.
If you leave the text-field blank, then on OK the Layer currently selected in the drop-down list is used: the default selected Layer name is always 'Layer0', but you can choose any other Layer off the list.
If a Layer is currently turned 'off' then it appears in the list, thus 'SomeLayer ***'.
If you elect to type in a Layer name, then on OK that Layer name is used, and the drop-down list is ignored: if that Layer does not exist then it is created and then it is assigned to those Selected Entities.
If you type in a Layer name in the form 'MyLayer ***' then if it does not exist it is created using the name 'MyLayer', and also seeing the ' ***' it is then set to be turned 'off'.

Its changes are one step undo-able.

To make a Shortcut...
Select a suitable Entity or Entities...
Open Preferences > Shortcuts, filter for 'Set_Layer'...
Set up the desired Shortcut key...

1.0 20150415 First Issue.
1.1 20150503 Glitch with TIG module fixed.