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.
    • J Offline
      Jim
      last edited by

      Just got this when importing a model from the 3D Warehouse from the Component Browser:

      Error; #<NoMethodError; undefined method `execute_script' for nil;NilClass>
      C;/Users/Jim/Dropbox/Plugins/jbb_layers_panel/rb/observers.rb;60;in `onChangeEntity'
      C;/Users/Jim/Dropbox/Plugins/jbb_layers_panel/rb/observers.rb;109;in `commit_operation'
      C;/Users/Jim/Dropbox/Plugins/jbb_layers_panel/rb/observers.rb;109;in `block in onLayerAdded'
      

      Version 1.1.0
      Windows 8
      SketchUp 2014 Pro

      Hi

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

        @matt.gordon320 said:

        What is the proper way to debug? I'm actually really curious, looking forward to nailing down the issue, I'm learning Ruby 2 to write my own plugins, so the more I can learn about the process. So I should keep the console open while testing this? Are there any options or anything I need to tick first prior to testing it?

        I'm kind of a ruby newbie myself, so I'm not sure what the "proper" way is. One sure thing, though, is that I always have the ruby console opened when debugging my plugin. But it just gives you the ruby-related errors.
        In this case, it seems to be a javascript-related error. Usually I debug this by neutralizing whole bunches of code and see what's breaking. But as I can't come to your house and debug on your machine ( πŸ˜„ ), I need to implement a console inside the webdialog that would output js errors. I know thomthom and maybe others use firebug lite, I'll try to make it work.

        @matt.gordon320 said:

        I'm running just the standard US English version. It'd be nice to have it be some unicode character that's causing the issue, at least that'd be an easier starting point than this mystery.

        Yeah... But it doesn't seem to be the case, as your file works fine on my PC, and I'm also running SU english.

        @jim said:

        Just got this when importing a model from the 3D Warehouse from the Component Browser:

        Could you give me a link to that model?

        25% off Skatter for SketchUcation Premium Members

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

          @function said:

          sometimes when i try and undo an operation it does not work and looking at EDIT -> UNDO - it will say UNDO Properties as if I changed a property instead of the modeling operation I am trying to undo... is this coming from Layers Panel?

          This happens to me quite often. It is undoubtedly coincidence, but when I disable Layers Panel I don't have UNDO problems. πŸ˜• Pity because LP is such an outstanding tool.

          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

            @jql said:

            I can't create new layer groups

            @matt.gordon320 said:

            most of the UI isn't responding

            @jim said:

            Just got this when importing a model from the 3D Warehouse

            Ok guys, I found the issue. I'll release a fixed version ASAP.
            In the meantime, you can replace the two files attached in the folder
            C:\Users\_USERNAME_\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins\jbb_layers_panel\rb


            dialog.rb


            observers.rb

            25% off Skatter for SketchUcation Premium Members

            1 Reply Last reply Reply Quote 0
            • M Offline
              matt.gordon320
              last edited by

              Very cool! I was actually just finding the time to install the Firebug version you sent, when I read this. Let me know if you still want me to test anything out, as I'd be happy to!

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

                If this works for you, there is no need πŸ˜‰

                25% off Skatter for SketchUcation Premium Members

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

                  @jiminy-billy-bob said:

                  @jql said:

                  I can't create new layer groups

                  @matt.gordon320 said:

                  most of the UI isn't responding

                  @jim said:

                  Just got this when importing a model from the 3D Warehouse

                  Ok guys, I found the issue. I'll release a fixed version ASAP.
                  In the meantime, you can replace the two files attached in the folder
                  C:\Users\_USERNAME_\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins\jbb_layers_panel\rb

                  Great one Jiminy do you think this also has something to do with what happened to my groups?

                  Thanks,

                  JQL

                  www.casca.pt
                  Visit us on facebook!

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

                    I don't think so, but I don't know where it could come from.
                    So, maybe...

                    25% off Skatter for SketchUcation Premium Members

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      ivreich
                      last edited by

                      @jiminy-billy-bob said:

                      Does it happen in every file? Even a brand new one?

                      Yup, even with brand new files. I'm also having problems creating layer groups and new layers...they either simply won't create or when they are created they can't be renamed, and nothing can be added to them, visibility controls won't work etc.

                      Sometimes I lose all of the layer group structures I've created previously as well. This happens when I open more than one session of sketchup side by side...

                      Error message when I try to create new layer groups attached.

                      Cheers

                      Joel


                      Error messge when creating new group

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

                        @ivreich said:

                        @jiminy-billy-bob said:

                        Does it happen in every file? Even a brand new one?

                        Sometimes I lose all of the layer group structures I've created previously as well. This happens when I open more than one session of sketchup side by side...

                        Side by side you say?... I'll double check on that as I'm permanently doing it too!

                        With the new files I can create groups again though.

                        www.casca.pt
                        Visit us on facebook!

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

                          This is getting better and better! many thanks!!
                          small hick-up here. Is that the Layer Status does not work occasionally. I can still click it, but it won't update the layers I want to see.
                          Running on SU2014 on Mac

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            matt.gordon320
                            last edited by

                            @jiminy-billy-bob said:

                            Ok guys, I found the issue. I'll release a fixed version ASAP.
                            In the meantime, you can replace the two files attached in the folder

                            Awesome! That seems to be it! I think everything is working now, so I'll start testing it out! Thanks again, this is a fantastic extension.

                            -Matt

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

                              @ckho1985 said:

                              Is that the Layer Status does not work occasionally. I can still click it, but it won't update the layers I want to see.
                              Running on SU2014 on Mac

                              I guess when having more than one models opened? If so, this will be fixed in the next release.

                              25% off Skatter for SketchUcation Premium Members

                              1 Reply Last reply Reply Quote 0
                              • EdsonE Offline
                                Edson
                                last edited by

                                I started getting these error messages. is there a way to fix it? I am also not being able to add groups.

                                Screenshot 2014-05-17 08.31.31.png

                                edson mahfuz, architect| porto alegre β€’ brasil
                                http://www.mahfuz.arq.br

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

                                  Try this: http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=53906%26amp;start=510#p525061

                                  25% off Skatter for SketchUcation Premium Members

                                  1 Reply Last reply Reply Quote 0
                                  • EdsonE Offline
                                    Edson
                                    last edited by

                                    @jiminy-billy-bob said:

                                    Try this: http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=53906%26amp;start=510#p525061

                                    yep, it worked. no more error messages and I am able to create groups again.

                                    however, I still have an old complaint: LP does not remember where I place its panel: at start it always opens on the same spot on the screen. if the native windows can remember where they were placed last why can't yours?

                                    once more, thanks for a wonderful plugin.

                                    edson mahfuz, architect| porto alegre β€’ brasil
                                    http://www.mahfuz.arq.br

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

                                      @edson said:

                                      if the native windows can remember where they were placed last why can't yours?

                                      Because this is bugged in OSX. I've not yet managed to find a workaround.

                                      Solution: Use Sketchup in windows πŸ˜„

                                      25% off Skatter for SketchUcation Premium Members

                                      1 Reply Last reply Reply Quote 0
                                      • EdsonE Offline
                                        Edson
                                        last edited by

                                        @jiminy-billy-bob said:

                                        @edson said:

                                        if the native windows can remember where they were placed last why can't yours?

                                        Because this is bugged in OSX. I've not yet managed to find a workaround.

                                        Solution: Use Sketchup in windows πŸ˜„

                                        no problem. it is a minor inconvenience compared to what your plugin offers.

                                        I will pretend I did not read your suggestion to switch to windows... πŸ˜‰

                                        edson mahfuz, architect| porto alegre β€’ brasil
                                        http://www.mahfuz.arq.br

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


                                          New version 1.1.1 !

                                          Changelog :

                                          • 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

                                          Download in the plugin store !


                                          25% off Skatter for SketchUcation Premium Members

                                          1 Reply Last reply Reply Quote 0
                                          • F Offline
                                            function
                                            last edited by

                                            cool stuff, thanks for continued development~!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 30
                                            • 33
                                            • 34
                                            • 28 / 34
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement