Put On Layer

Tagged with terms:
3
points
Date Updated: 
17/03/2006
Author: 
Christopher Grant
Version: 
1.0

Allows you to easily move entities and their nested elements (ie groups within components within groups) to any layer. You just right click on an entity you want to move. You'll see a "Put on Layer: " submenu. The first entry is "Current" then all other layers in the file are listed underneath for quickly moving entities / groups / components to different layers.

Additional Info: 

History:
Original version was "PutOnCurrentLayer.rb" which always put the selection on the currently active layer. Thanks to Jim H (jimij5) from the SketchUp Ruby forum for the idea to add the ability to put entities on any layer without having to actually change the active layer.

Credit:
Originally based on "layer.rb" - "change to current layer" by zdarc. However, other than the include statement this script is entirely custom. Without layer.rb as a starting place though, I may have never even bothered implementing this... Thanks wehby for the prompting to checkout Windowizer.rb which uses a dynamic right click menu. That helped me get my head around what I needed to do for this.

Version Requirement: 
SketchUp 5 / 6
AttachmentSize
PutOnLayer_ForPublicRelease.rb4.59 KB

sepo's picture

Does it work with SU6?

Does it work with SU6?

Christopher Grant's picture

Yes. I've been using

Yes. I've been using SketchUp 6 exclusively for quite a while and it seems to work fine.

sepo's picture

Thanks Chris

Thanks Chris

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.