lms_thumb.jpgBlender's Layers are an absolute necessity but, they can be an absolute pain. They're represented by blank little buttons that stare back at you, daring you to try and remember what you've place where, and why you've put it there in the first place. Well, here's a nice script that will eliminate those anonymous Layers and bring meaning to the madness, and more…

Mariano Hidalgo (A.K.A. uselessdreamer) has created a wonderful solution that provides welcomed functionality to the Blender interface.

lms_ui.jpgIt fits in a thin tall space that can be set on the side and supports layer naming and the creation of layer sets to quickly turn on and off related groups of layers.

There are twenty rows of buttons, one for each layer. The buttons on each row are:

  • Solo Layer
  • Click to make this layer the only one visible (this is the same as regular click in the layer buttons in header).
  • Turn Layer ON and OFF
  • Click to turn layer on and off (same as Ctrl Click in the layer buttons in the 3D View header).
  • Layer Name
  • Shows the layer name. Click to change it.
  • Layer Objects
  • Displays a menu with all the objects in this layer.

Layer Sets

By using Layer Sets, you can easily prepare sets of layers with the required ones to do a full render, make a set with only important layers, objects but no environment, etc.

You can add an empty set or add a copy of the current one with the options found in the menu to the left of the set name. To rename a set, just click in the set name string input. The little X on the right will remove the set from the list.

Layer Names and Layer Sets are saved in the .blend as texts.

The script is a single Python script and you can get it here.

Installation is a breeze, just place the script in your Blender scripts folder. It will register itself in the Object Scripts menu.

Thanks Mariano! You should be known as the usefuldreamer



Related Posts


Related posts are selected automatically based on their content.


37 Responses to “Layer Manager Script allows you to name your Layers, and more!”  

  1. 1 mpl Edit Link

    yet again Mariano brings us something really useful! I already use his Blender Library, and im sure i will use this script just a much. However, it would be great if both a material library and a layer manager was coded directly into blender.

  2. 2 WeWa Edit Link

    [Borat] I like. [/Borat]

  3. 3 crsrma Edit Link

    Niiice! How much?

  4. 4 basse Edit Link

    nice, but like all other UI helper scripts, it's a real pity that whenever you hit undo in blender, you loose the interface, and have to relaunch the script.. makes them almost unsable for me.

    for naming layers, i usually just have one extra text-view open somewhere with layers.txt in it where i simply type in the numbers and contents of layers. i also have another one for just notes/todo/etc.. it survives undoing and nicely travels with blend..

    .b

  5. 5 Pablos Edit Link

    That is perfect - I'm so bored of remembering what I put where

  6. 6 francesco Edit Link

    Long long time ago i had filed a feature-request in blender bug-tracking system for naming layers, but it got un-answered. I still think it would be a useful feature, and if i weren't so null at coding i would have tried to implement it myself.

  7. 7 Crossmaker Edit Link

    Thank you Mariano, this makes enything easily.
    cheers crossmaker

  8. 8 ROUBAL Edit Link

    Hi !

    The script is very cool, but I agree with basse when he says :

    - nice, but like all other UI helper scripts, it’s a real pity that whenever you hit undo in blender, you loose the interface, and have to relaunch the script.. makes them almost unsable for me. -

    Here is a paper sheet I use every time I have a big scene to manage :

    http://3d-synthesis.com/tutorials/blender_layout_sheet.pdf

    I have created several other paper tools in pdf format which can be downloaded at the bottom of this page :

    http://3d-synthesis.com/tutorialsenglish.html

    I hope that you will find them usefull.

    Philippe.

  9. 9 Alexander Ewering Edit Link

    Though, it should be noted that instinctive-blender (http://software.newsforge.com/article.pl?sid=05/04/05/1950225&from=rss) has had an integrated layer manager for almost 2 years, which included even more features like layer locking, "always-render" layers, select-by-layer (long before the menu option in mainstream Blender was there), and LOD (visible range for layer contents).

    Argh, it really hurts to do so much stuff in vain ;)

  10. 10 Traligy Edit Link

    This is really nice thanks to Mariano.

  11. 11 Kernon Edit Link

    @basse:
    That's a nice solution.

  12. 12 5to11 Edit Link

    Alexander Ewering:

    Just had a quick look at your download site for instinctive, the builds look quite old, have you a latest windows build of instinctive? is the source upto date, could someone build a instinctive like say the latest CVS?

    The only windows version i could find was quite old and tarred, which accepted, i could go find some archive soft to untar but perhaps .zip would be more accessible to windows users.

  13. 13 BgDM Edit Link

    Looks like a nice script, and would be very helpful. This should be looked at and incorporated into Blender completely.

    @basse: Great idea basse. I have just gotten used to, over the years, of placing certain things in certain layers and it's just natural for me to turn them on/off now.

    BgDM

  14. 14 francisco Edit Link

    5to11:

    "…have you a latest windows build of instinctive?…" chek out this http://dtpblender.instinctive.de/cms/Main/Home

    and for a good untar software look at this http://www.7-zip.org/ (this soft it's so, so fast… )

    I hope that some day blender have to become a good "repo" of all our demands.

  15. 15 5to11 Edit Link

    francisco:

    thanks for the links.

  16. 16 solo_d Edit Link

    Just a note: the panel only affects the last used 3d view, ignoring the lock/unlock layers (and that is annoying, as i works with 2 or 3 3d views ata a time, and i like to manage the layers for all the views at once). Otherwise, great script. Having it implemented should be a must.

  17. 17 Rexprime Edit Link

    i agree too bad these features are not built into the interface itself (too bad half of the scripts haven't been intergrated, like uv export)

  18. 18 Alexander Ewering Edit Link

    5to11: unfortunately, instinctive-blender has not been updated since Blender 2.36, until then it always was synced with official CVS. However, that is no explanation for why its layer manager hasn't been ported / wasn't permitted to be ported into official CVS back then - there was enough time :)

  19. 19 Laughing Cheese Edit Link

    I don't get it…what does "It will register itself in the Object Scripts menu" mean???

    I had assumed it might mean that I didn't have to do open a text window, open the script and run the script.

    I was wrong…

    Scripts are really annoying because of that IMO.

    Is there any other way to make it work or is it just a normal script?

    If we could find some way to integrate scripts like that then maybe they would actually be useful[for me anyway, I just find having to open it in the text window and run it every time instead of being permanently integrated a pain...]

  20. 20 PorkChop Edit Link

    OMG!

    now this is news!!

    please keep posting stories about blender!

    What Ton had for lunch and the release of JoJo the circus boy's new raytrace is not of intrest of this blender user.
    MORE BLENDER NEWS PLEASE!!

  21. 21 CinderSerenade Edit Link

    That's awesome!
    Here's a suggestion:
    How about a few buttons in there for defineable layer configurations? I.e., user assigns one button to activate layers 1 2 and 3, then wants to use switch to between a different lighting setup so he assigns another button to 1 2 and 4, etc.

  22. 22 gls Edit Link

    I'll have to start using this script, maybe i will finally learn to organize my scenes in a less confused way. Thanks usefuldreamer :D

  23. 23 roofoo Edit Link

    It's a nice idea, but I don't think it will be useful to me if you have to manually launch the script everytime and then relaunch it every time you Undo something. It's easier for me just to click through the layers real fast to find what I want…

    Once something like this is integrated into Blender, though, I will be all for it! I just think that having a script for this is a bit clumsy.

  24. 24 francisco Edit Link

    Mmmm…

    Any way… I use this LAYER MANAGER script http://www.fourmadmen.com/blender/scripts/4mm_layer_manager/index.html

    I think it´s more interesting.

  25. 25 francisco Edit Link

    see the Related Articles on top an click on "Improved layer management"

  26. 26 Brian Edit Link

    I think the best thing about this is that scripts like this act as good foundations for future core changes and additions. Personally I'd like to see layers within the outliner. Just drag and drop the items into the desired layer within the outliner. We are making steps towards this.

  27. 27 Alexander Ewering Edit Link

    Heh, it's fun to see that this "Undo destroys scripts" thing hasn't been fixed since the introduction of global undo more than 1 year ago. It shows how much emphasis BF places on the Python API - or - how frustrated users are at the Python API anyway and thus don't use scripts at all - and thus don't complain about a problem that basically renders any UI-based script useless.

  28. 28 Moritz Edit Link

    Nice one!!
    I also think, it should be put into the mainstream blender!

  29. 29 Steve Edit Link

    Nice, but would be even better see it as a fully integrated feature soon hint hint?!

  30. 30 ROUBAL Edit Link

    @Brian : I hadn't thought about that, but your idea is good.

    Being able to manage layers using the outliner would be usefull.

  31. 31 Alden Edit Link

    This is great! Thanks for the link!

  32. 32 - Edit Link

    Now if only it was possible to easily rename and group objects in "folders" and "subfolders" etc. like in Realsoft 3D http://www.digitalstratum.com/images/tron/lightcycle_1.png - something I wish will be fully possible some day. Outliner could be much more flexible…

  33. 33 Michael Thoenes Edit Link

    I must agree with the UNDO issues.. It keeps my from using the layer manger script as well. It would be great to have layer manager in Blender. Nevertheless, It is a very cool script.

  34. 34 Kernon Edit Link

    Yeah, the Undo BUG is an issue in Blender. For what it's worth, it only happens when you are in Object mode. Undoing in Edit mode will not shut down a script.

  35. 35 deltaepsylon Edit Link

    this should be included in blender release… :D

  36. 36 Alexander Ewering Edit Link

    Dead link, leads to a bunch of gambling sites with spyware popups and viruses.

  37. 37 Kernon Edit Link

    The link has been updated, thanks!

Tip: register on gravatar.com to show your own avatar with your comments instead of

Leave a Reply