sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Layers Panel 1.2.1

    Scheduled Pinned Locked Moved Plugins
    672 Posts 109 Posters 155.2k Views 109 Watching
    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.
    • thomthomT Offline
      thomthom
      last edited by

      @jql said:

      Great updates! The problem is, you keep giving us more, we keep asking for more...

      Good point. I think donations are in order for this great plugin.

      passes hat around

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • jiminy-billy-bobJ Offline
        jiminy-billy-bob
        last edited by

        @jql said:

        We could change the color of a group and change all the layers inside it or window select some layers, then changing one, could change all. Maybe selecting a bunch of layers and make all layers same color from the active layer...

        It's coming! 😄

        TT > Thanks a lot for your generous donation, that's very much appreciated 😉

        25% off Skatter for SketchUcation Premium Members

        1 Reply Last reply Reply Quote 0
        • jiminy-billy-bobJ Offline
          jiminy-billy-bob
          last edited by


          New version 1.0.2 !

          Changelog :

          • 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

          Download in the plugin store !


          25% off Skatter for SketchUcation Premium Members

          1 Reply Last reply Reply Quote 0
          • C Offline
            ckho1985
            last edited by

            Have to praise this tool!! working on big projects and having loooooooooong list on the SU layers is just a pain.

            Notice you have added a render icon for different engines on your tool. Artlantis is not there…. doesn't affect my work. but at first i though it was a miracle button to press.

            working on Mac machine. works okay, not as smooth as you show it

            1 Reply Last reply Reply Quote 0
            • jiminy-billy-bobJ Offline
              jiminy-billy-bob
              last edited by

              Can't you already choose which layer you want to render in Artlantis?

              What's not smooth on Mac? Can you do a small video?

              25% off Skatter for SketchUcation Premium Members

              1 Reply Last reply Reply Quote 0
              • tt_suT Offline
                tt_su
                last edited by

                @jiminy-billy-bob said:

                What's not smooth on Mac? Can you do a small video?

                I just noticed that 1.0.2 doesn't update the WebDialog when you add/remove layers via the WebDialog. The model layers are created - it's just the UI doesn't.
                Adding layer-groups updates the UI though.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  ckho1985
                  last edited by

                  for the rendering button, at first, i thought it would open up an instant window for quick rendering instead of having to opening Artlantis separately. I think the render function makes more sense for those plug-in engines and so…. ( i used to run Shaderlight… not on your list either)

                  Keeping Artlantis not saying its a bad thing, there are pros and cons I would say.

                  Not so smooth wise. it does't happen all the time, but so far i found the following are most common.

                  1)The subject (layers and names) on your tool window does not response simultaneously to SU window. (i.e.; what I click add layer in your tool, I can see layer is added ONLY in the SU window, but not on tool's window) like they both do not spontaneously correspond.

                  1. Having several SU files open. switching from one to other. The tool struggles to keep up.
                    ie; the tool's window content still showing the first SU model, even I have jump to working on the second model. (the first model still running at the back ground)

                  Sorry don't have a video (don't know how to, please enlighten me if there is a way to Screen-capture a video)
                  will let you know if there is further niggles

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    ckho1985
                    last edited by

                    and just now… it crashes 👊 👊 👊 👊 👊 👊

                    1 Reply Last reply Reply Quote 0
                    • tt_suT Offline
                      tt_su
                      last edited by

                      @ckho1985 said:

                      and just now… it crashes 👊 👊 👊 👊 👊 👊

                      Are you submitting the BugSplats? Did you enter any information we can use to look it up?

                      1 Reply Last reply Reply Quote 0
                      • unclebimU Offline
                        unclebim
                        last edited by

                        I confirm that the copy/paste issue when creation of new layers is needed is solved. Great work!

                        How about that:

                        @jiminy-billy-bob said:

                        @nanolin said:

                        Hello
                        You can sort the list by alphabetical order of layers? . It can be added as an option?
                        thanks

                        Someone (maybe you ?) already suggested this. So it's on my todo list 😉

                        If possible, would be layer groups sorted too and would the user be able to overwrite the alphabetical sorting or just put a lower number as prefix in order to get the layer up?

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          ckho1985
                          last edited by

                          @tt_su said:

                          @ckho1985 said:

                          and just now… it crashes 👊 👊 👊 👊 👊 👊

                          Are you submitting the BugSplats? Did you enter any information we can use to look it up?

                          It is not a bugsplats. the programme freezes up, so i had to force quit. summited report to apple.
                          but yes, i generally summit reports if bugsplats occurs

                          1 Reply Last reply Reply Quote 0
                          • Y Offline
                            yinliangxxxx
                            last edited by

                            载入文件 C:/Users/Seven-Yin/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb 时出错
                            Error: 126: ÕÒ²»µ½Ö¸¶¨µÄÄ£¿é¡£ - C:/Users/Seven-Yin/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Win32API.so
                            C:/Users/Seven-Yin/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:19:in require' C:/Users/Seven-Yin/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:19:in module:JBB_LayersPanel'
                            C:/Users/Seven-Yin/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:5:in <top (required)>' D:/Tool/SketchUp 2014/Tools/extensions.rb:197:in require'
                            D:/Tool/SketchUp 2014/Tools/extensions.rb:197:in load' C:/Users/Seven-Yin/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:in register_extension'
                            C:/Users/Seven-Yin/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:in `<top (required)>'

                            Thank Quick Update,but Layers Panel Beta v1.0.2 Unable to load!
                            in Sketchup 2014

                            Hope to be in Sketchup2014 Run!!

                            1 Reply Last reply Reply Quote 0
                            • jiminy-billy-bobJ Offline
                              jiminy-billy-bob
                              last edited by


                              New version 1.0.3 !

                              Changelog :

                              • Fixed multiple important issues on OSX

                              Download in the plugin store !


                              25% off Skatter for SketchUcation Premium Members

                              1 Reply Last reply Reply Quote 0
                              • jiminy-billy-bobJ Offline
                                jiminy-billy-bob
                                last edited by

                                @ckho1985 said:

                                1. Having several SU files open. switching from one to other. The tool struggles to keep up.
                                  ie; the tool's window content still showing the first SU model, even I have jump to working on the second model. (the first model still running at the back ground)

                                It's a limitation of the Sketchup API. I can't do better.
                                You have to move the view for the dialog to update. (Orbit, pan, etc)

                                @ckho1985 said:

                                1)The subject (layers and names) on your tool window does not response simultaneously to SU window. (i.e.; what I click add layer in your tool, I can see layer is added ONLY in the SU window, but not on tool's window) like they both do not spontaneously correspond.

                                @tt_su said:

                                I just noticed that 1.0.2 doesn't update the WebDialog when you add/remove layers via the WebDialog. The model layers are created - it's just the UI doesn't.
                                Adding layer-groups updates the UI though.

                                Actually, after some testing, serveral things -including this- were broken since version 1.0.0 on Mac. It's weird that nobody mentionned it earlier.

                                I fixed it, see below:

                                25% off Skatter for SketchUcation Premium Members

                                1 Reply Last reply Reply Quote 0
                                • vremennyiV Offline
                                  vremennyi
                                  last edited by

                                  @tony bombata said:

                                  interestingly, if you pin a file to sketchup 2014, and launch from the taskbar jumplist, it will open without errors - dont know if that helps

                                  Thank you! It works!
                                  I think it may be linked with SU current "Working Directory".
                                  I tested some random folders. If current working directory is on other drive than SU installed(maybe it should be only C:) plugin crashes.
                                  I have profile folders on D:. When I'm starting SU with desktop shortcut SU's working dir sets to D:\Profile\Desktop. When starting from pinned shortcut - C:\Windows\System32\

                                  jiminy-billy-bob, you are using relative paths in source. Maybe ruby engine tries load file using current working directory and only it's drive(D: in my case)
                                  Maybe there is way to set up current working dir to system drive or any MS API to find system drive and try load required libraries with that path?
                                  Or is this SU bug and about this should think SU developers?

                                  I think any can repeat this bug in Windows just changing "Working dir" in shortcut to any folder on any another than system drive.
                                  Is there bugtracker?)

                                  1 Reply Last reply Reply Quote 0
                                  • jiminy-billy-bobJ Offline
                                    jiminy-billy-bob
                                    last edited by

                                    @vremennyi said:

                                    Or is this SU bug and about this should think SU developers?

                                    This.

                                    25% off Skatter for SketchUcation Premium Members

                                    1 Reply Last reply Reply Quote 0
                                    • Bob JamesB Offline
                                      Bob James
                                      last edited by

                                      Any updates you'd care to share on the work to make LP and Thea work together?

                                      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
                                      • jiminy-billy-bobJ Offline
                                        jiminy-billy-bob
                                        last edited by

                                        Thea doesn't expose any render funtion in ruby. The render is triggered on C++ side. So there is no way I can trigger it from Layers Panel. Therefore, it must be Thea that reads LP's attribute to see which layers have been tagged 'to be rendered' by the user.
                                        (The same issue applies to render[in], shaderlight, twilight)

                                        It's pretty simple:

                                        • Check if LP is active (optional)
                                          JBB_LayersPanel.isActive == true

                                        • Determine in which context the user is (active scene if one exists, otherwise the model)
                                          if Sketchup.active_model.pages.selected_page == nil context = Sketchup.active_model else context = Sketchup.active_model.pages.selected_page end#if

                                        • Read the attributes to see which layers are tagged
                                          layerId = layer.get_attribute("jbb_layerspanel", "ID") context.get_attribute("jbb_layerspanel_render", layerId)
                                          It gives 0 or 1 if the layer should not be rendered, and 2 if the layer should be rendered.

                                        I gave this to Tomasz, I don't know if he tried to add it to Thea or not.

                                        I'll probably simplify all of this in an upcoming update with simply something like:
                                        JBB_LayersPanel.render(layer) that would return true or false.

                                        25% off Skatter for SketchUcation Premium Members

                                        1 Reply Last reply Reply Quote 0
                                        • tt_suT Offline
                                          tt_su
                                          last edited by

                                          @vremennyi said:

                                          Or is this SU bug and about this should think SU developers?

                                          Yes - it's our fault. 😞 We're working on a fix.

                                          1 Reply Last reply Reply Quote 0
                                          • U Offline
                                            unclex
                                            last edited by

                                            Winx64chinse
                                            SU2013english OK
                                            SU2014english Not Work Still

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 21
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 33
                                            • 34
                                            • 23 / 34
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement