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

      @pixero said:

      One wish though. Thea Render support.

      Unfortunalty, I can't trigger Thea Render from ruby. Support for this would have to be done in Thea. Tomasz is supposed to be working on this, but it's been a while, maybe you could remind him 😄

      @pixero said:

      Oh and is it possible to doubleclick on panel to minimize it? Mine gets stuck as minimized.

      It seems to be broken, I'm on it.

      25% off Skatter for SketchUcation Premium Members

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

        Loving this update. First public use of the new Layer.color API methods! 😄

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

          Sketchup2014 Unavailable
          Thank you Layers Panel
          Chinese version Sketchup 2014 However, to use this plug-in can not be any!!
          I hope you can fix

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

            @yinliangxxxx said:

            Thank you Layers Panel
            Chinese version Sketchup 2014 However, to use this plug-in can not be any!!
            I hope you can fix

            See above :

            @jiminy-billy-bob said:

            It seems to happen when opening an old file coming from SU2013. When saving it with SU2014 and restarting, it works fine.

            25% off Skatter for SketchUcation Premium Members

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

              I still have same error. Opening new 2014 file...
              Your advice was helpful with my PC, but on laptop it does'nt work... I will try reinstall SU.

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

                After reinstalling SU Make, cleaning directory in %AppData% I have same error...

                1 Reply Last reply Reply Quote 0
                • B Offline
                  babak
                  last edited by

                  First, thank you for the plugin !
                  I have the same issue as vremennyi. Sketchup 2014 pro and windows 7. The plugin works well except when I try to launch sketchup by clicking a file stored on another drive (D:) or network. Then it cannot find winAPI.so.
                  It could explain vremennyi problem on his laptop.

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

                    @babak said:

                    The plugin works well except when I try to launch sketchup by clicking a file stored on another drive (D:) or network. Then it cannot find winAPI.so.

                    This is a known issue in SketchUp 2014. 😞

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

                      I spoke to the Trimble guys, and it seems to be an issue with SU2014 itself. In some cases, ruby fails to load properly, when double-clicking on a file.
                      There's not much I can do... Trimble is working to fix it.
                      Meanwhile, try to open Sketchup, and then open your files with "Files > Open".

                      EDIT : Oh well, I'm too slow 😄

                      25% off Skatter for SketchUcation Premium Members

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

                        vremennyi, yinliangxxxx, babak,
                        Try replacing the file "Plugins/jbb_layers_panel/layers_panel.rb" by the attached one (see below), and tell me if it works.


                        layers_panel.rb

                        25% off Skatter for SketchUcation Premium Members

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          babak
                          last edited by

                          %(#004080)[jiminy-billy-bob, thank you for your quick answer.
                          I still get the following error while launching from d:\ or network.]

                          Erreur de chargement du fichier C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb
                          Error: #<LoadError: cannot load such file -- dl>
                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/Win32API.rb:5:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/Win32API.rb:5:in <top (required)>'
                          C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:32:in require' C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:32:in rescue in module:JBB_LayersPanel'
                          C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:28:in <module:JBB_LayersPanel>' C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:5:in <top (required)>'
                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load'
                          C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:in register_extension' C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins /jbb_layers_panel.rb:39:in <top (required)>'

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

                            Well, in that case we just need to wait for trimble to fix this.

                            25% off Skatter for SketchUcation Premium Members

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

                              Error Loading File C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb
                              Error: #<LoadError: cannot load such file -- Win32API>
                              C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:19:in require' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:19:in module:JBB_LayersPanel'
                              C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:5:in <top (required)>' E:/Trimble/Sketchup.14/Tools/extensions.rb:197:in require'
                              E:/Trimble/Sketchup.14/Tools/extensions.rb:197:in load' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:in register_extension'
                              C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:in `<top (required)>'

                              it's same problem
                              su2014en @ win7x64chinese
                              so I guess, that's something about system, Trimble had better fix it

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                tony bombata
                                last edited by

                                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


                                screen.jpg

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

                                  Here is a short video showing how the render feature works.

                                  25% off Skatter for SketchUcation Premium Members

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

                                    @unclebim said:

                                    @jiminy-billy-bob said:

                                    @unclebim said:

                                    @unclebim said:

                                    1. Not sure whether since ver. 0.4 or 0.5 but in both SU 8 and SU 2013 Edit->Paste and Ctrl+V do not work, Edit->Paste in place works though. Removing the plugin files from SU Plugins folder resolved the problem in both SU 8 and SU 2013. Also renaming layers in the native SU Layers window sometimes caused bugsplat with the plugin installed in SU 2013.

                                    Weird. Does it work when Layers Panel is installed but closed ?

                                    1. Well it does happen no matter whether Layers Panel is open or closed. What happens is that you can see the pasted object shortly on the screen and then it disappears and the move tool cursor reverts back to the formally active tool. I tried this with groups and components and with ungrouped geometry. The problem occurs when the pasted object requires the creation of a new layer that does not exist in the file already. If I make a layer with the same name that the pasted object is on then it can be pasted. Although I have a problem pasting a nesting group in Layer 0 and I have no problem pasting the nested groups together (also on Layer 0). Moving the same nesting group on a newly created (after Layers Panel installation) layer does not help. Making the group a component also.

                                    I can still report the same problem with both SU 2013 and SU 2014. Here are the respective error reports:

                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:in onLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/#WorkPlane.rb:274:in call'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/#WorkPlane.rb:274
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:in onLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in call'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:in onLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in call'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:in onLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in call'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:in onLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in call'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:in onLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in call'
                                    C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48

                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:in block in onLayerAdded' -e:1:in call'
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:in block in onLayerAdded' -e:1:in call'
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:in block in onLayerAdded' -e:1:in call'
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:in block in onLayerAdded' -e:1:in call'
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:in block in onLayerAdded' -e:1:in call'
                                    Error: #<TypeError: reference to deleted Entity>
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in get_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in IdLayer'
                                    C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:in block in onLayerAdded' -e:1:in call'

                                    Thank you again for this great plugin, I would love to use it but for the reported problem.

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

                                      Oh, I thought I had this fixed. I'll take a look at it.

                                      25% off Skatter for SketchUcation Premium Members

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

                                        Dan Rathbun wrote this fix. Drop it in the "Tools" folder and tell me if it works.

                                        !_fix_ruby_startup.rb

                                        EDIT : It's for the startup issue.

                                        25% off Skatter for SketchUcation Premium Members

                                        1 Reply Last reply Reply Quote 0
                                        • JQLJ Offline
                                          JQL
                                          last edited by

                                          Hi Jiminy,

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

                                          In SU Layers window we can set color to individual layers but not to a group of layers. Wich made me think that with your plugin this would be great!

                                          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...

                                          Anyway, there might be a way of doing this already that I'm unaware of?

                                          Thanks again, this plugin should be built in SU core...

                                          JQL

                                          www.casca.pt
                                          Visit us on facebook!

                                          1 Reply Last reply Reply Quote 0
                                          • 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
                                            • 1
                                            • 2
                                            • 20
                                            • 21
                                            • 22
                                            • 23
                                            • 24
                                            • 33
                                            • 34
                                            • 22 / 34
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement