• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Layers Panel 1.2.1

Scheduled Pinned Locked Moved Plugins
672 Posts 109 Posters 155.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jiminy-billy-bob
    last edited by jiminy-billy-bob 25 Aug 2013, 14:15


    WARNING : Layers panel is not maintained anymore.
    It is open-source, anyone can contribute and update it. Here is the repo : https://github.com/jiminy-billy-bob/Layers-Panel

    As a result, I'm not responding to bug or feature requests anymore. You can still post them, in case another developer might want to fix/add them.


    If you're a developer, take a look at [url=http://sketchucation.com/forums/viewtopic.php?p=525648#p525648:3q55jzcd]Layers Panel's API[/url:3q55jzcd], to make your plugin interact with it


    Layers Panel basically replaces Sketchup's layers window. It reproduces every features of it, and adds the ability to group layers, sort them, hide/collapse groups, choose which layers to render, etc.
    It was designed to be very similar to Photoshop's layers panel, as I use it a lot and find it very handy.

    http://i.imgur.com/UgA185k.png

    Layer states:

    Render feature:


    Warnings

    • Although the undo/redo support was improved a lot since the alpha versions, sometimes it still messes up (rarely), which prevents you to redo some operations.
    • By using this plugin, you agree to send completely anonymous data, used to improve it.

    Recommended : Windows Vista-7-8, OSX 10.7+, Sketchup 8+, Internet Explorer 9+.
    Should work with (no support) : Windows XP, Sketchup 7, Internet Explorer 8.


    Usage

    http://i.imgur.com/qsyBim4.png
    Add a new group

    http://i.imgur.com/HDiKqUL.png
    Add a new layer. Hold-down click on the button to access extra options

    http://i.imgur.com/3x8SuG0.png
    Delete highlighted layer(s) and all its content

    http://i.imgur.com/z6VMzYE.png
    Delete highlighted layer(s) and move its content to layer0

    http://i.imgur.com/sCWNJyC.png
    Delete highlighted layer(s) and move its content to the active layer

    http://i.imgur.com/lwvwIFL.png
    Toggle color by layer

    http://i.imgur.com/ENNL0zY.png

    http://i.imgur.com/kyY4dwT.png
    Collapse or expand the group

    http://i.imgur.com/c23fzJR.png
    Drag and drop layer

    http://i.imgur.com/5rtLwK3.png
    Make layer the active layer

    http://i.imgur.com/AWlxE7J.png
    Toggle the layer's visibility (See shortcuts below)

    http://i.imgur.com/iBXs35N.png
    Toggle layer's visibility at rendertime (See below)

    http://i.imgur.com/tMVlybs.png
    Lock highlighted layer(s): It can't be deleted or purged from within Layers Panel (It can still be deleted or purged from Sketchup)

    http://i.imgur.com/S9p0dUE.png
    Move the selection to the highlighted layer

    [img:3q55jzcd]http://i.imgur.com/NRmqKNA.png[/img:3q55jzcd] Select highlighted layer's content

    [img:3q55jzcd]http://i.imgur.com/8yIEtNw.png[/img:3q55jzcd] Highlight the selection's layer(s)

    [img:3q55jzcd]http://i.imgur.com/TxunVg6.png[/img:3q55jzcd] Make the selection's layer(s) active

    Shortcuts

    • CTRL+G : Group highlighted layers
    • CTRL+SHIFT+G : Ungroup layers
    • CTRL+A : Select all
    • CTRL+E : Merge highlighted layers
    • ALT+click on layer visibility : Isolate layer
    • CTRL+click on layer visibility : Isolate layer in its group
    • SHIFT+click on layer visibility : Toggle all highlighted layers

    Right-click on a color to change it. (SU2014+ only)

    The way you sort/nest layers is simple, just grab the handle on the left of a layer/group, and drop it where you want. To choose the depth of the nesting, move the layer to the right or the left, like this :
    [img:3q55jzcd]http://i.imgur.com/06x6Zia.png[/img:3q55jzcd]


    Download

    Directly on the PluginStore :

    Link Preview Image
    SketchUp Plugins | PluginStore | SketchUcation

    SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

    favicon

    (sketchucation.com)


    Your feedback would be very appreciated, improvement ideas, features, etc...

    If you encounter any bug, please tell me, with instructions to who reproduce it. And please include your OS, SU version, and IE version.

    Hope you'll like it ! πŸ˜„


    [url=https://www.paypal.com/cgi-bin/webscr?cmd=_donations%26amp;business=thomash76%40gmail%2ecom%26amp;lc=GB%26amp;item_name=Thomas%20Hauchecorne%26amp;cy_code=EUR%26amp;bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted:3q55jzcd]Donate...[/url:3q55jzcd]



    Changelog :

    1.2.1

    • Fixed a major issue that could corrupt the model (Caused by SU14 and below)
    • Fixed States dialog
    • Added API methods

    1.2.0

    • Added an History dialog, to easily revert back if groups/order disappear
    • Added a right-click menu
    • Fixed an issue causing an infinite undo loop
    • Fixed encoding issue with non-english characters and alphabets
    • The dialog now remembers its position in OSX
    • Fixed minimizing
    • Added support for KeyShot5

    1.1.1

    • Fixed a major issue that would freeze Layers Panel when using several features (e.g adding a group)
    • Added an API that allows other plugins to interact with Layers Panel

    1.1.0

    • Added layer "states" (with new dialog). States allows to save snapshots of the current layers visibility, and restore them later.
    • Fixed several bugs

    1.0.6

    • Improved "add layer" menu (Hold-down the add layer button), based on Jim's great "Add layer" plugin
    • Fixed "Win32api" error when opening a file from a different drive than sketchup's. (Thanks to Dan Rathbun and TIG)
    • Fixed layer colors vanishing when switching scenes

    1.0.5

    • Fixed major issues that would freeze Layers Panel, or delete every groups
    • Added API for rendering

    1.0.4

    • Added better feedback when sorting multiple layers/groups at once
    • Added support for Podium V2+
    • Fixed support for Indigo

    1.0.3

    • Fixed multiple important issues on OSX

    1.0.2

    • All selected layers are now sorted together
    • Added shift-click for multiple selection
    • Fixed issue when copy/pasting from another instance creates a new layer
    • Fixed minimize/maximize

    1.0.1

    • Fixed bug with undo operations

    1.0.0

    • Added layer colors for SketchUp 2014 (Right-click on a color to change it)
    • Fixed issue with undo operations

    0.10.2

    • Better management of multiple models opened on OSX (You need to pan/orbit/zoom to trigger the change)
    • Added debug dialog
    • Fixed bug at startup

    0.10.1

    • Fixed options dialog on OSX
    • Added Command key for shortcuts on OSX
    • Fixed naming issue with Google Earth terrain

    0.10

    • Added compatibility with Keyshot renderer
    • Added "Add layer on new pages"
    • "New layer" button hold-down time is now faster
    • Minimize/maximize should work better

    0.9.1

    • Fixed options dialog on OSX
    • Disabled automatic display of floating toolbar on OSX
    • Fixed "Add layer hidden on new pages"
    • Fixed clash with RichSections plugin
    • Several bug fixes

    0.9

    • OSX support
    • Fixed clicking on layer's name not selecting it

    0.8

    • Added ALT+click on layer visibility : Isolate layer
    • Added CTRL+click on layer visibility : Isolate layer in its group
    • Added SHIFT+click on layer visibility : Toggle all highlighted layers
    • Added button to highlight selection's layer
    • Added button to select highlighted layer's entities
    • Fix copy/paste between instances

    0.7

    • Added a dark bar at the top to minimize/maximize the dialog
    • Added CTRL+G : Group selected layers
    • Added CTRL+SHIFT+G : Ungroup layers
    • Added CTRL+A : Select all
    • Added CTRL+E : Merge selected layers
    • Added different color for groups
    • Layer0 is now selectable
    • Fix bug with sorted groups
    • Potential fix for IE version bug

    0.6

    • Fix scene auto-update (This is now an option)
    • Adds an options to hide the warning for outdated IE versions (This is intended for people with the warning appearing even though their IE is up to date)

    0.5.2

    • Fix bug where "old layers" (created before Layers Panel was installed) were not listed
    • Fix bug where groups couldn't be renamed after being nested in another one.

    0.5.1

    • Fix gap at the top when hiding the render toolbar

    0.5

    • Displays a warning when drawing geometry to another layer than layer0
    • New Delete button that moves content to the current layer
    • New button to set selection's layer as current layer
    • New button to move selection to highlighted layer
    • Now supports Podium render
    • Option to purge unused groups
    • Option to hide the render toolbar
    • Option to open Layers Panel when Sketchup starts
    • Potential fix for rename bug

    0.4

    • Adds the ability to choose which layers to render (Works with Vray, Maxwell, Indigo, and Kerkythea)
    • Fix bug when having too many layers
    • The dialog now remembers its size and position when closed
    • Fix focus jumping at the top of the dialog

    0.3.2

    • Fix bugsplat when deleteing/purging layers with Outliner opened
    • New naming conventions (For the Extension Warehouse)

    0.3.1

    • Fix group names disappearing

    0.3

    • Locking layers (Works only when purging or deleting from the plugin's menu)
    • Ability to add a layer only visible in the current scene (New pop-up menu when holding the "Add layer" button)
    • Layers Panel is now a toolwindow, but you can't dock nor collapse it
    • Two different delete buttons, for better performance (The red cross deletes the layer content, the green arrow moves the content to the default layer)
    • Several bug fix

    0.2

    • Fix bug with existing layers

    25% off Skatter for SketchUcation Premium Members

    1 Reply Last reply Reply Quote 0
    • renderizaR Offline
      renderiza
      last edited by 25 Aug 2013, 14:48

      And plugin of the year award goes to jiminy-billy-bob! 😍

      Do you think selecting multiple layers to drag them all at once inside a folder possible in the future?

      Again beautiful work can't wait to see what you come up with next...cheers!

      [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

      1 Reply Last reply Reply Quote 0
      • yorik1984Y Offline
        yorik1984
        last edited by 25 Aug 2013, 15:05

        @renderiza said:

        And plugin of the year award goes to jiminy-billy-bob! 😍

        πŸ‘

        1 Reply Last reply Reply Quote 0
        • J Offline
          jiminy-billy-bob
          last edited by 25 Aug 2013, 15:21

          @renderiza said:

          Do you think selecting multiple layers to drag them all at once inside a folder possible in the future?

          It would indeed be usefull. I already tried, but I use a jquery plugin for sorting/nesting, I didn't write the feature. I guess I'll have to dig into this πŸ˜„

          25% off Skatter for SketchUcation Premium Members

          1 Reply Last reply Reply Quote 0
          • jolranJ Offline
            jolran
            last edited by 25 Aug 2013, 16:52

            Exellent! I'll give this a go later..

            @unknownuser said:

            It would indeed be usefull. I already tried, but I use a jquery plugin for sorting/nesting, I didn't write the feature. I guess I'll have to dig into this

            I suspect you are using Jquery draggable, droppable and sortable, right?

            I'm working on similar things for my "node-editor". So far I get the impression (from all over the place) implementing "multiselect" is a bit funky. At least if you would like to do some kind of rectangle-select-multi-thingy and use thoose 3 UI features mentioned. I hope I'm wrong, cause it would be great if it could be done easily and stable.

            Anyhooo... Here's a snippet that at least let you select multiple and drag them..
            Now, sorting/dropping them is another thing..

            Multi Drag Demo - ThreeDubMedia - JSFiddle - Code Playground

            JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.

            favicon

            (jsfiddle.net)

            (hint use ctrl to select 1 instance)

            edit: Sorry posted wrong fiddle:

            Multi Drag Demo - ThreeDubMedia - JSFiddle - Code Playground

            JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.

            favicon

            (jsfiddle.net)

            1 Reply Last reply Reply Quote 0
            • J Offline
              jiminy-billy-bob
              last edited by 25 Aug 2013, 17:24

              @jolran said:

              I suspect you are using Jquery draggable, droppable and sortable, right?

              Nope, I'm using NestedSortable , and jQueryUI's "Selectable" feature. I'll have to combine the two.

              25% off Skatter for SketchUcation Premium Members

              1 Reply Last reply Reply Quote 0
              • jolranJ Offline
                jolran
                last edited by 25 Aug 2013, 18:50

                Ahh, I see. That's a different matter then..

                1 Reply Last reply Reply Quote 0
                • D Offline
                  db11
                  last edited by 25 Aug 2013, 20:44

                  I've been waiting for this forever...

                  @unknownuser said:

                  It does not work on OSX !
                  I tested it on windows 7 and 8, with Sketchup 8 and 2013, and Internet Explorer 10.

                  Does that mean I'll just have to wait longer β€” i.e. it doesn't work YET on OSX, but should with additional testing / debugging β€” or is it that it CAN'T work on OSX?

                  Really hoping that a future release will include OSX compatibility. Great work in any case!

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jiminy-billy-bob
                    last edited by 26 Aug 2013, 06:06

                    It should with some addition/modification of the code. The main problem is that I don't have a mac, so I'll need a mac user to help me testing.

                    25% off Skatter for SketchUcation Premium Members

                    1 Reply Last reply Reply Quote 0
                    • Bob JamesB Offline
                      Bob James
                      last edited by 26 Aug 2013, 07:28

                      This is so incredibly useful it takes my breath away.
                      There isn't a smilie that comes close to expressing how great this plugin is even in a beta state.

                      i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by 26 Aug 2013, 10:04

                        @JBB

                        I added it but for future updates you can familiarize yourself with the links below

                        favicon

                        (sketchucation.com)

                        http://sketchucation.com/forums/viewforum.php?f=382

                        http://sketchucation.com/forums/viewtopic.php?f=382&t=52516

                        Link Preview Image
                        SketchUp Plugins | PluginStore | SketchUcation

                        SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

                        favicon

                        (sketchucation.com)

                        Download the free D'oh Book for SketchUp

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jiminy-billy-bob
                          last edited by 26 Aug 2013, 11:05

                          Thanks a lot for your kind words, guys. I'm glad you like it.

                          @rich o brien said:

                          I added it but for future updates you can familiarize yourself with the links below

                          Great, thanks ! πŸ˜‰

                          25% off Skatter for SketchUcation Premium Members

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            ken
                            last edited by 26 Aug 2013, 12:25

                            Installed your plugin. Hope this is the type of feedback you wish to have.

                            Image 1 - Error received after trying to open layer panel menu.

                            Image 2 - Error received after trying to save the file as template.

                            Hope this helps.

                            Sketchup V13 pro

                            Window 7

                            Thanks for this plugin. Hope you get it working.

                            Ken


                            Image 1.png


                            Image 2.png

                            Fight like your the third monkey on Noah's Ark gangway.

                            1 Reply Last reply Reply Quote 0
                            • O Offline
                              onkravets
                              last edited by 26 Aug 2013, 15:20

                              Very nice and useful plugin.
                              Thank you!

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                tald311
                                last edited by 26 Aug 2013, 17:49

                                Awesome. Another very needed plugin to help sort and organize. This will get a ton of use.
                                THANK YOU
                                Daniel

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jiminy-billy-bob
                                  last edited by 26 Aug 2013, 18:15

                                  Ken > Your first bug was coming from layers created before the plugin installation, this new version 0.2 should fix it : http://sketchucation.com/resources/pluginstore?pln=Layers_Panel

                                  Not sure about the second... Do you have this problem with every file you're trying to save as template, even a brand new one ?

                                  25% off Skatter for SketchUcation Premium Members

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    ken
                                    last edited by 26 Aug 2013, 18:21

                                    @jiminy-billy-bob said:

                                    Ken > Your first bug was coming from layers created before the plugin installation, this new version 0.2 should fix it : http://sketchucation.com/resources/pluginstore?pln=Layers_Panel

                                    Not sure about the second... Do you have this problem with every file you're trying to save as template, even a brand new one ?

                                    I can save a template files OK. No problems.

                                    And yes the layers were created before installing your plugin. They are layers I had on my template. Will remove all my layers and try again.

                                    Thanks for the quick response.

                                    Ken

                                    Fight like your the third monkey on Noah's Ark gangway.

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jiminy-billy-bob
                                      last edited by 26 Aug 2013, 18:28

                                      The new version should work ok with old layers. No need to remove them.

                                      25% off Skatter for SketchUcation Premium Members

                                      1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        greatoe
                                        last edited by 27 Aug 2013, 10:05

                                        @jiminy-billy-bob said:

                                        It should with some addition/modification of the code. The main problem is that I don't have a mac, so I'll need a mac user to help me testing.

                                        I am very much willing to help testing.

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jiminy-billy-bob
                                          last edited by 27 Aug 2013, 12:09

                                          That's kind of you, but do you have any knowledge in ruby/javascript development ?

                                          25% off Skatter for SketchUcation Premium Members

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 33
                                          • 34
                                          • 1 / 34
                                          1 / 34
                                          • First post
                                            20/672
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement