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.
    • cmeedC Offline
      cmeed
      last edited by

      I didn't see but this isn't the fist time this has happened so will keep a better note next time.

      1 Reply Last reply Reply Quote 0
      • gullfoG Offline
        gullfo
        last edited by

        i've found an issue? i added layers after placing a bunch into groups and when i drag the unassigned layer into a group i get a javascript error. attached is the file and the screenshot. i'm using SU 2013 pro 13.0.4812 on Windows Vista SP2. i have full permission in SU prog dir.


        screenshot of error


        sketchup file

        Glenn

        http://www.runnel.com

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

          @cmeed said:

          I didn't see but this isn't the fist time this has happened so will keep a better note next time.

          Ok, thanks.
          I think it's related to Observers watching layers change. I had these kind of issue in the past and resolved a lot of them, but it's possible that some remain. If it's indeed related to observers, it should occur only with old layers created before Layers Panel was installed.

          gullfo > I'll look at your file.

          25% off Skatter for SketchUcation Premium Members

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

            Ok Glenn, I found the issue. You simply have too many layers. It's related to the max length a url can pass between the dialog and SU. I forgot about this... I'll need to rewrite some code.

            25% off Skatter for SketchUcation Premium Members

            1 Reply Last reply Reply Quote 0
            • cmeedC Offline
              cmeed
              last edited by

              Thats it- it was an old layer. The reason i was changing it was to give it a capital letter, I started out with non-capitalised layer names......

              1 Reply Last reply Reply Quote 0
              • cmeedC Offline
                cmeed
                last edited by

                @jiminy-billy-bob said:

                Ok Glenn, I found the issue. You simply have too many layers. It's related to the max length a url can pass between the dialog and SU. I forgot about this... I'll need to rewrite some code.

                does that mean theres a limit on layers?
                c

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

                  For now, yes. I had this planned, but completely forgot about it. So I don't know the current limit. But in next version, it should be fixed.

                  25% off Skatter for SketchUcation Premium Members

                  1 Reply Last reply Reply Quote 0
                  • gullfoG Offline
                    gullfo
                    last edited by

                    no problem! that's what beta-testing is all about 😄

                    Glenn

                    http://www.runnel.com

                    1 Reply Last reply Reply Quote 0
                    • gullfoG Offline
                      gullfo
                      last edited by

                      @jiminy-billy-bob said:

                      You simply have too many layers.

                      that's the short list 😄 once you start to use ACAD standard architecture layer sets it gets "big"

                      Glenn

                      http://www.runnel.com

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

                        @bimbalas said:

                        On renamaming layers or groups directly on Layers Panel with letters from non ASCII character set (e.g. ąžįėš) this letters was changed to unicode codes.

                        I just tested, and it works for me when I rename a layer to "ąžįėš". Which versions of Sketchup, windows, and internet explorer are you using ?

                        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 0.3.2 beta !

                          Changelog :

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

                          Download in the plugin store !

                          At startup, you should get once "Error Loading File layers_panel.rb no such file to load -- layers_panel.rb". This is normal, it's just the plugin deleting the old files.

                          25% off Skatter for SketchUcation Premium Members

                          1 Reply Last reply Reply Quote 0
                          • cmeedC Offline
                            cmeed
                            last edited by

                            this is with release 0.3.2
                            same naming issue with names not changing in the LayersPanel - they are changing in the Layers Window though

                            I updated the plugin this morning. The layers were made yesterday. I closed down SU. restarted SU. captured film so its not happening with the layers or folders before the plugin was installed, as all were made yesterday
                            C

                            EDIT: in the time its taken me to write the above the layer has now changed to 'hello' in LayersPanel. just so you know...

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

                              @jiminy-billy-bob said:

                              • Fix bugsplat when deleteing/purging layers with Outliner opened

                              Doh! I was just about to look at this.

                              Can you PM me the old version that crashed? I'd like to have a look at it.
                              (Also, what did you do to avoid the crash?)

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

                                Is it just the Win32 API dependency that makes this Windows only?

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

                                  And I just downloaded 0.32 from the Plugin Store but it alerts me about a new version...

                                  1 Reply Last reply Reply Quote 0
                                  • cmeedC Offline
                                    cmeed
                                    last edited by

                                    hello again,
                                    Still can't update layer using a shortcut key with LayersPanel open.
                                    works fine when i close LayersPanel.
                                    c

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

                                      @cmeed said:

                                      this is with release 0.3.2
                                      same naming issue with names not changing in the LayersPanel - they are changing in the Layers Window though

                                      I updated the plugin this morning. The layers were made yesterday. I closed down SU. restarted SU. captured film so its not happening with the layers or folders before the plugin was installed, as all were made yesterday
                                      C

                                      EDIT: in the time its taken me to write the above the layer has now changed to 'hello' in LayersPanel. just so you know...

                                      This is really weird. How about renaming a layer, then close the dialog and open it again ? Is the name updated ?

                                      @cmeed said:

                                      hello again,
                                      Still can't update layer using a shortcut key with LayersPanel open.
                                      works fine when i close LayersPanel.
                                      c

                                      Is the dialog focused when you're trying to do that ?
                                      Has anyone else the same issue with shortcuts ? It works fine for me, when the dialog is not focused.

                                      @tt_su said:

                                      Is it just the Win32 API dependency that makes this Windows only?

                                      Nope. A lot of things need rewriting. Pumping, etc...
                                      BTW, I think I read somewhere that you work on mac ? Would you be ok with helping me testing on osx ?

                                      @tt_su said:

                                      And I just downloaded 0.32 from the Plugin Store but it alerts me about a new version...

                                      Yeah, sorry about that, it was a serverside issue. It should be fixed now.

                                      25% off Skatter for SketchUcation Premium Members

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

                                        Regarding pumping messages, I have a system working quite well in SKUI. https://github.com/thomthom/SKUI

                                        I guess the bridge itself could be an interesting mini-framework to extract from that project. A Ruby class that subclass the UI::WebDialog class, cleaning up some of the cross compatibility issues on the Ruby side, then a JS script, or HTML builderplate that implement the communication with Ruby. That will enable JS to Ruby communication on OSX that doesn't drop messages - and Ruby and JS objects are converted seamlessly. You can even call JS functions from Ruby and get their return value.

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

                                          Whow, sounds great. I'll take a look at that when I have time. Thanks a lot

                                          25% off Skatter for SketchUcation Premium Members

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

                                            Do you use GitHub / BitBucket?

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

                                            Advertisement