[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
0
User avatar
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
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

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
0
User avatar
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
0
TIG
User avatar
TIG 
Global Moderator
 

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
0
User avatar
Humpmetwice 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: aligobel, chahohyeon, vodanh1104 and 13 guests

Visit our sponsors: