SketchUcation Plugin Store

 

 

[Plugin] Add Scene Layers

[Plugin] Add Scene Layers

Postby Humpmetwice » Tue Sep 27, 2011 7:48 am

Is there a plug-in out there that creates a new layer for each scene you have in a model? If not I’m sure it can be done, just wondering if something like that would be worth the head ache of doing.

EDIT: See here for the solution viewtopic.php?p=356915#p356915 TIG

Thanks Kurt
User avatar
Humpmetwice
 
Posts: 401
Joined: Sun Dec 27, 2009 2:43 am
Location: Oak Grove Louisiana
Name: humpmetwice

Re: [Plugin] Add Scene Layers

Postby jolran » Tue Sep 27, 2011 9:09 am

Do you want 1 new layer created for each scene?
And ALL geometry put on that layer in each new scene, wich means that you only have 1 layer totally to begin with in you scene.

Otherwise I can only guess you want a new "set" of layers for each new scene.
Could become a lot of layers :)
You can not nest layers for what I know.

Oh, and maybe this can help.

http://forums.sketchucation.com/viewtopic.php?f=323&t=40166
User avatar
jolran
 
Posts: 635
Joined: Sun Oct 26, 2008 9:23 pm
Location: Sweden
Name: Joel G
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced

Re: [Plugin] Add Scene Layers

Postby Humpmetwice » Tue Sep 27, 2011 11:35 am

Just a new layer for each scene named to what the scene is named. All other layers I guess stay the same. The problem I'm running into is I'm using the plugin Parts --> Scenes which makes a scene for every component in the model. I would like to dimension those components in each scene. The prefect idea would be say I have a model with two components, one called car and the other called truck. Once I ran the parts-->scenes plugin I could then run this other idea plugin that would add a layer called truck and a layer called car. Maybe even hide the truck layer in the car scene and vice versa.

Thanks Kurt
User avatar
Humpmetwice
 
Posts: 401
Joined: Sun Dec 27, 2009 2:43 am
Location: Oak Grove Louisiana
Name: humpmetwice

Re: [Plugin] Add Scene Layers

Postby TIG » Tue Sep 27, 2011 12:02 pm

This old tool viewtopic.php?p=345385#p345385 adds a piece of text on screen with the scene's name and puts it on a new layer named after the scene that is only 'on' in that scene and by default it is never 'on' in new scenes made later.
You can use it to add that scene specific layer and the screen-text if you want it.
To do it en mass use the ALL version or on the active scene...

This massaged version misses out the text and just adds the layer...
AddSceneLayers.rb
Note that you can edit the code to change the new layers' prefix, which by default is 'SCENE-' so that they all list together
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13919
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Add Scene Layers

Postby Humpmetwice » Tue Sep 27, 2011 6:26 pm

Thanks alot Tig, thats what I needed! Sketchup for sure wouldn't be the same if it wasn't for masters like yourself!

Thanks again Kurt
User avatar
Humpmetwice
 
Posts: 401
Joined: Sun Dec 27, 2009 2:43 am
Location: Oak Grove Louisiana
Name: humpmetwice

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Are you a Premium Member? Get your freebies here. Are you not a Premium Member yet? Upgrade your account to grab these freebies instantly.

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

cron

Who is online

Users browsing this forum: Bing [Bot], Depronix, dmorong, Goblin, Google Bot, Google Feedfetcher, klintonb, mbouchard, Teoarhi and 4 guests