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

    [Plugin] Layers Panel 1.2.1

    已排程 已置頂 已鎖定 已移動 Plugins
    672 貼文 109 Posters 155.2k 瀏覽 109 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • F 離線
      function
      最後由 編輯

      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?

      1 條回覆 最後回覆 回覆 引用 0
      • jiminy-billy-bobJ 離線
        jiminy-billy-bob
        最後由 編輯

        @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?

        I don't think so.
        It has been reported that LP can cause weird things with the undo stack, but every operation should have an explicit name. So no "undo properties".
        Unless you're using an old version?

        @matt.gordon320 said:

        Thanks again Jiminy-Billy-Bob! This plugin is amazing! I do have a request (unless it's a feature I missed). Would there be any plans to be able to select and group multiple layers by holding Shift and clicking like in Photoshop, then hold Ctrl and remove one or two?

        Not sure if it's already coded in, and mine isn't working for some reason or not. Just checking! Thanks!

        It should work. Are you using the last version?

        25% off Skatter for SketchUcation Premium Members

        1 條回覆 最後回覆 回覆 引用 0
        • M 離線
          matt.gordon320
          最後由 編輯

          Thanks again Jiminy-Billy-Bob! This plugin is amazing! I do have a request (unless it's a feature I missed). Would there be any plans to be able to select and group multiple layers by holding Shift and clicking like in Photoshop, then hold Ctrl and remove one or two?

          Not sure if it's already coded in, and mine isn't working for some reason or not. Just checking! Thanks!

          EDIT: Right after posting, just realized most of the UI isn't responding. No crashes, no hangs, it just doesn't do anything.

          Stuff that works: Moving layers, visibility, current layer toggle, render toggle, lock layer, move selection to highlighted layer, select highlighted layer's entities.

          Stuff that doesn't respond: Everything else.

          Tried restarting both SketchUp and Windows, but to no avail. Strange, it was working just a few minutes ago.

          1 條回覆 最後回覆 回覆 引用 0
          • M 離線
            matt.gordon320
            最後由 編輯

            @jiminy-billy-bob said:

            It should work. Are you using the last version?

            Using the latest (1.1.0), yes. I just removed it from the folder, restarted, and am reinstalling to see if I can nail down what the issue that triggered it is, or if it was just a fluke. I'll keep you posted 😄

            1 條回覆 最後回覆 回覆 引用 0
            • M 離線
              matt.gordon320
              最後由 編輯

              Ok, tested a couple times, and I can't quite pin down what's causing the issue. It behaves slightly differently in a couple files. I've attached a txt file explaining more in depth to keep the thread short, and a couple of example models.


              This is a the model where I had the issue.


              This is my default template file.


              I wrote this and tabbed it in Sublime Text, so it should be organized, let me know if it's not.

              1 條回覆 最後回覆 回覆 引用 0
              • jiminy-billy-bobJ 離線
                jiminy-billy-bob
                最後由 編輯

                matt > Your files work just fine for me. It seems you have a similar issue than JQL who also sent me a file that works fine on my machine. Did you guys recently installed a new plugin?

                What happens if you disable all the other plugins? (Rename your plugins folder to something like "Plugins2", and create a new "Plugins" folder with only LP in it)

                25% off Skatter for SketchUcation Premium Members

                1 條回覆 最後回覆 回覆 引用 0
                • M 離線
                  matt.gordon320
                  最後由 編輯

                  @jiminy-billy-bob said:

                  What happens if you disable all the other plugins? (Rename your plugins folder to something like "Plugins2", and create a new "Plugins" folder with only LP in it)

                  ❓ hmmmmm. I've been going through and doing a clean network install of plugins and testing them 1 by 1 to make sure they work well in 2014 (with the new move to Ruby 2). I'll get to disabling all the other plugins and testing Layers Panel solo. I'll let you know!

                  Thanks!

                  1 條回覆 最後回覆 回覆 引用 0
                  • M 離線
                    matt.gordon320
                    最後由 編輯

                    Ok, no luck. Even removing all plugins, and installing only to the default plugins directory, same behavior. Everything works until I try to create a Layer Panel group, then most of the UI elements break. Any thoughts on what I can do to help track down what my computer is doing to this thing?

                    1 條回覆 最後回覆 回覆 引用 0
                    • jiminy-billy-bobJ 離線
                      jiminy-billy-bob
                      最後由 編輯

                      Nothing in the ruby console?
                      Did you try running the plugin from your local machine, instead of the network?

                      25% off Skatter for SketchUcation Premium Members

                      1 條回覆 最後回覆 回覆 引用 0
                      • M 離線
                        matt.gordon320
                        最後由 編輯

                        @jiminy-billy-bob said:

                        Nothing in the ruby console?
                        Did you try running the plugin from your local machine, instead of the network?

                        I'm not great with understanding the ruby console yet, but I had it open, and it showed no output.

                        Yes, I tried it by removing everything aside from the default extensions that ship with SketchUp, and installing JBB_LP to the default plugins. Still no luck. It's weird, I cannot figure out what's going on with it. Everything works fine until the Group button is used, then bam, dead.

                        1 條回覆 最後回覆 回覆 引用 0
                        • jiminy-billy-bobJ 離線
                          jiminy-billy-bob
                          最後由 編輯

                          What happens in a new file?
                          Did you try in SU2013 or SU8?

                          Also, what is your version of Internet Explorer?

                          Frankly, this is a mystery to me 😕

                          25% off Skatter for SketchUcation Premium Members

                          1 條回覆 最後回覆 回覆 引用 0
                          • M 離線
                            matt.gordon320
                            最後由 編輯

                            New file gets the same behavior, even from the SketchUp standard templates that ship with it. Trying it on a different version is next up. I will probably have to test it on SU Make, Pro 2014 is the only one I have.

                            IE version: 11.0.9600.17041

                            I'm going to test it on a couple other workstations to see if they get the same issue. I'm totally perplexed as well. It doesn't through up any errors or info in the console, beats the hell out of me. I'll give you an update whenever can. Maybe I'll have to reformat my system and try again.

                            1 條回覆 最後回覆 回覆 引用 0
                            • jiminy-billy-bobJ 離線
                              jiminy-billy-bob
                              最後由 編輯

                              @matt.gordon320 said:

                              I will probably have to test it on SU Make, Pro 2014 is the only one I have.

                              You can download older versions here: http://www.sketchup.com/download/all

                              @matt.gordon320 said:

                              Maybe I'll have to reformat my system and try again.

                              Before doing so, make sure to test on other workstations.

                              I'll myself try to include a debug console inside Layers Panel dialog, so that you can see what's breaking.

                              What is the language of your sketchup install?

                              25% off Skatter for SketchUcation Premium Members

                              1 條回覆 最後回覆 回覆 引用 0
                              • M 離線
                                matt.gordon320
                                最後由 編輯

                                @jiminy-billy-bob said:

                                I'll myself try to include a debug console inside Layers Panel dialog, so that you can see what's breaking.

                                What is the language of your sketchup install?

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • J 離線
                                  Jim
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • jiminy-billy-bobJ 離線
                                    jiminy-billy-bob
                                    最後由 編輯

                                    @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 條回覆 最後回覆 回覆 引用 0
                                    • Bob JamesB 離線
                                      Bob James
                                      最後由 編輯

                                      @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 條回覆 最後回覆 回覆 引用 0
                                      • jiminy-billy-bobJ 離線
                                        jiminy-billy-bob
                                        最後由 編輯

                                        @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 條回覆 最後回覆 回覆 引用 0
                                        • M 離線
                                          matt.gordon320
                                          最後由 編輯

                                          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 條回覆 最後回覆 回覆 引用 0
                                          • jiminy-billy-bobJ 離線
                                            jiminy-billy-bob
                                            最後由 編輯

                                            If this works for you, there is no need 😉

                                            25% off Skatter for SketchUcation Premium Members

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 33
                                            • 34
                                            • 27 / 34
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement