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

      There are no obsolete files. And the plugin already takes care of the old versions with different names. What can remain are the old folders, but that's not a problem since no rb file access these folders. It's been a while since that, and nobody never had any issue.

      Bob , you actually have a different issue than Rich. I'll look into that.

      25% off Skatter for SketchUcation Premium Members

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

        The folder version called "layers_panel" was downloaded on 14 Oct 2013.
        I also had a "jbb_layers_panel" folder with the same download date.

        The "layers_panel" version started out:

        %(#FF0040)[#-----------------------------------------------------------------------------
        require 'sketchup.rb'
        require 'jbb_layers_panel/Win32API.so'
        #-----------------------------------------------------------------------------

        Sketchup.send_action(CMD_RUBY_CONSOLE)

        module JBB_LayersPanel]

        and the rb was dated 9 Sep 2013

        In the "jbb_layers_panel" version the rb is dated 16 Sep 2013
        UPDATE
        As jiminy said, in both cases the rb was called "layers_panel.rb". It was only the folder names that were different

        I'm verysorry if my ignorance caused a problem 😞

        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
        • H Offline
          huckrorick
          last edited by

          I downloaded version .7
          As soon as I clicked on the Layer Panel I get an error message. (see attachment)
          When I try to add a layer with Layer Panel it doesn't respond.
          When I add with the Layers window I get an error message.
          What am I doing wrong?


          LayersPanelProblem.jpg

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @jbb

            I notice that your html files do not define 'scripts' in the 'header' but at the end of the 'body'... is this an issue?
            Also your main html file doesn't include:
            <script src="./js/jquery.min.js"></script>
            Is this likely to cause an issue ?
            After all the error relates to JQuery...

            TIG

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

              Maybe you mods/admins guys could move these posts to a new thread in the devs forum ? πŸ˜„


              @bob james said:

              As jiminy said, in both cases the rb was called "layers_panel.rb". It was only the folder names that were different

              Let's sum it up.

              Alpha version until 0.02, May 15th 2013 :

              Plugins/Layers Panel.rb
              Plugins/Layers Panel/...
              

              From Alpha version 0.03 to Beta version 0.3.1, Sept 9th 2013 :

              Plugins/layers_panel.rb
              Plugins/layers_panel/...
              

              Since Beta version 0.3.2, Sept 16th 2013 : (For compatibility with the Extension Warhouse)

              Plugins/jbb_layers_panel.rb
              Plugins/jbb_layers_panel/...
              

              When this one loads, it automatically deletes Layers Panel.rb and layers_panel.rb
              "J" being loaded before "L", the two old files never get loaded before they are deleted.


              Ok so, I can reproduce the issue by reverting back to 0.6 and trying to update through the PS or the default rbz installer inside SU. Both fail to update the "js" folder, in both SU8 and SU13. Therefore, some new JS files don't get added, and we get the JS error.
              This. Is. Weird.
              Actually, the "css" folder is not updated either...
              The two sub-folders of Plugins/jbb_layers_panel/

              Here is version 0.6 if you want to test :
              Layers Panel 0.6 beta (Obsolete)


              @tig said:

              I notice that your html files do not define 'scripts' in the 'header' but at the end of the 'body'... is this an issue?
              Also your main html file doesn't include:
              <script src="./js/jquery.min.js"></script>
              Is this likely to cause an issue ?
              After all the error relates to JQuery...

              No, the fact that the scripts are at the bottom shouldn't cause any issue. It certainly didn't in the past.
              0.7 doesn't include jquery.min.js because it includes jquery.js, which is not added due to the "js" folder not being updated...

              25% off Skatter for SketchUcation Premium Members

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

                There is no issue when updated while Layers Panel is disabled (Through the Sketchucation Extension Manager, or SU's preferences window)
                So I guess the problematic files are not replaced because Windows sees them as used.
                What is even weirder is that some pre-non-existent files are not added.

                25% off Skatter for SketchUcation Premium Members

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

                  @huckrorick said:

                  I downloaded version .7
                  As soon as I clicked on the Layer Panel I get an error message. (see attachment)
                  When I try to add a layer with Layer Panel it doesn't respond.
                  When I add with the Layers window I get an error message.
                  What am I doing wrong?

                  You need a clean install of the plugin.
                  Go to C:\Program Files (x86)\Google\Google SketchUp 8\Plugins\, and delete the file jbb_layers_panel.rb, and the folder jbb_layers_panel.
                  Then you can reinstall it normally.

                  EDIT : See the post below, you can just disable the extension before updating.

                  25% off Skatter for SketchUcation Premium Members

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    huckrorick
                    last edited by

                    deleting the folder and file, then installing worked fine.
                    Very nice the way the program is working now.
                    thanks.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      monmonred
                      last edited by

                      i have a few more ideas for your plugin. please don't think i'm being demanding, you see i just found your plugin really helpful. anyway, these are my ideas. i don't know if they are really doable as far as rubyscript and your time/effort goes.

                      1. linked layers. (since you gave the idea of being photoshop-like) 2 or more layers can be linked and even if just one of them is selected and the hid/show is toggled (by clicking a button or the hot key)simultaneously they are shown/hid. multiple linking may be done. with this, you do not only have the capability to group folders and hide/show them by hiding or showing the eye icon (or the possible hotkey) you can also get the hide/show to work with ungrouped/unfoldered layers! πŸ˜„

                      2. single-clicking/hover changes on a layer. this gives the function of hovering over a layer name to not change the mouse pointer to a pointer for typing. also when you click the layer name, what happens is you get to select the layer and you do not have to aim precisely at a point in the layer strip to have the layer selected. however, a double-click on the layer strip still renames the layer:)

                      3. font size change. i noticed the original layers panel can hold a longer list of layers as it has a smaller font size. is it possible to get your layers panel closer to that too so it would be easier to view the list without scrolling for those who tend to make 50+ layers? πŸ˜„

                      anyway, i enjoy plugin and it helps so much, when i start earning after i graduate, i promise i'll donate for this plugin's awesomeness! thanks again, you are very helpful, jiminy!

                      +Greatness may be measured on how much we have lost for the betterment of mankind+

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

                        Thanks for the kind words πŸ˜‰ It's always nice to hear

                        @monmonred said:

                        1. linked layers. (since you gave the idea of being photoshop-like) 2 or more layers can be linked and even if just one of them is selected and the hid/show is toggled (by clicking a button or the hot key)simultaneously they are shown/hid.

                        It's not the way linking works in PS (at least not in CS6), but why not. But I always thought it was the whole point of being able to group layers.
                        Added to my todo list.

                        @monmonred said:

                        1. single-clicking/hover changes on a layer. this gives the function of hovering over a layer name to not change the mouse pointer to a pointer for typing. also when you click the layer name, what happens is you get to select the layer and you do not have to aim precisely at a point in the layer strip to have the layer selected. however, a double-click on the layer strip still renames the layer:)

                        I'll look into this. I can think of a couple of issues, but there are probably workarounds.

                        @monmonred said:

                        1. font size change. i noticed the original layers panel can hold a longer list of layers as it has a smaller font size. is it possible to get your layers panel closer to that too so it would be easier to view the list without scrolling for those who tend to make 50+ layers? πŸ˜„

                        Actually, the height is driven by the input field size, I can't seem to find a way to make it smaller. It seems CSS-support of IE doesn't allow this. Maybe if someone finds a way to do this...

                        25% off Skatter for SketchUcation Premium Members

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          monmonred
                          last edited by

                          "It's not the way linking works in PS (at least not in CS6), but why not. But I always thought it was the whole point of being able to group layers.
                          Added to my todo list."

                          πŸ˜„ yeah i know, its just that when i had the idea of linking layers here i remembered you said this plugin is similar to photoshop's layers panel. i just thought it would be cool to relate it to photoshop however remotely they are similar.

                          those who share their work for free at least have to be recognized for their great work and contributions. πŸ˜„

                          +Greatness may be measured on how much we have lost for the betterment of mankind+

                          1 Reply Last reply Reply Quote 0
                          • jgbJ Offline
                            jgb
                            last edited by

                            While what you ask is a good idea, if you try to delete a layer that has anything in it SU will ask what
                            you want to do with the contents. If the layer is empty it will simply delete.


                            jgb

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

                              @unknownuser said:

                              hi there,

                              i miss somehow the odd dialog box from su which tells me if a layer is empty or not -

                              if you could add that to your layers panel - or an icon which shows if an layer is empty or not that would help ... oftne times i reorganize and clean up my model - then i want to delete some layers but im not sure if it is empty already...

                              At first there was only one single delete button, with a popup asking you what you wanted to do with the content if the layer was not empty, just like SU's default layers window. But the perfomance was terrible. The plugin has to scan every entity in the file until it finds a match. So I prefered to have three different buttons.
                              So trying to notify the user that a layer is not empty would have exactly the same problem.

                              25% off Skatter for SketchUcation Premium Members

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

                                Still some problems (for me) with this amazing plugin:

                                1. Turn off group
                                2. Turn on one layer in the group
                                3. All of the layers in the group turns on

                                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

                                  That's not a problem, that's a feature. πŸ˜„
                                  Showing a layer in an hidden group turns this group on. That's just the way it works.

                                  25% off Skatter for SketchUcation Premium Members

                                  1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    huckrorick
                                    last edited by

                                    @jiminy-billy-bob said:

                                    That's not a problem, that's a feature. πŸ˜„
                                    Showing a layer in an hidden group turns this group on. That's just the way it works.

                                    I agree with Bob James. My preference would be when I turn on a single layer within a group that only that layer comes on. If I click on the group, then I would want all layers to come on. Of course, this is just a matter of preference for working style, but it is the way I would like it. Here is an example of how it would work for me: I have turned off a group. If I want it back on then I click on the group. If I don't want it all back on, but just one layer, then I would like to click on that layer. The way it is now I click on that layer and then have to unclick all the other layers. If there are a lot of them, then this becomes a little tedious.
                                    Just my preference.

                                    This is a terrific app.

                                    1 Reply Last reply Reply Quote 0
                                    • jgbJ Offline
                                      jgb
                                      last edited by

                                      I totally agree with Huckrorick. πŸ‘ πŸ‘


                                      jgb

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

                                        The thing is that a group must active for you to see what's inside. So when you click on a layer inside an hidden group, this group must me activated. And if it's activated, every "hidden by group" (eye grayed out) layers inside it are activated as well.
                                        But I will add a shortcut to isolate a layer (in its local group, and another shortcut for all the way down to the root)

                                        25% off Skatter for SketchUcation Premium Members

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

                                          @unknownuser said:

                                          But I will add a shortcut to isolate a layer (in its local group, and another shortcut for all the way down to the root

                                          Great!

                                          By the way: I still have the problem with retaining layers in scenes. Any progress on this?

                                          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

                                            What do you mean "retaining layers" ?

                                            25% off Skatter for SketchUcation Premium Members

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 33
                                            • 34
                                            • 14 / 34
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement