sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Add Layer [1.1.0]

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

      @greenskp said:

      When i rename a layer - 00_Equip --> 00_Equip.01 - and Add Layer[1.1.0] is open, if i closed and open it again, the ruby console show me the following error:

      
      > Error; #<ArgumentError; '00_Equip' not valid values in list.>
      > D;/Plugins/jf_add_layer/SKUI/listbox.rb;207;in `value='
      > D;/plugins/jf_add_layer/main.rb;37;in `main'
      > D;/Plugins/jf_add_layer/main.rb;205;in `block in <module;AddLayer>'
      > SketchUp;1;in `call'
      

      have you tried 00_Equip --> 00_Equip_01 ?

      Save the Earth, it's the only planet with chocolate.

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

        I updated the plugin to fix this error. The version is 1.1.1.

        Note however the dialog needs closed and reopened to recognize a renamed layer.

        Hi

        1 條回覆 最後回覆 回覆 引用 0
        • greenskpG 離線
          greenskp
          最後由 編輯

          Thank you Jim. Working fine now.

          1 條回覆 最後回覆 回覆 引用 0
          • A 離線
            ASistGar
            最後由 編輯

            Thanks so much!! Running perfectly

            1 條回覆 最後回覆 回覆 引用 0
            • S 離線
              SK_Man_2020
              最後由 編輯

              I realize that this is an oldish plugin, but it's really useful, and seems to work great in v2017.

              However, the layers in the pull-down list are shown in apparently random order... Is there any way of changing that, so they are in alphabetical order, just like in the actual SK "Layers" window?

              I often have many dozens (or even hundreds) of layers in my models, so it's a real pain to scroll through a long list, looking for the ones I want. It would be great to have the option to sort that list in alphabetical order, and even better if it could be set to either ascending or descending order.

              1 條回覆 最後回覆 回覆 引用 0
              • G 離線
                glro
                最後由 編輯

                @sk_man_2020 said:

                I realize that this is an oldish plugin, but it's really useful, and seems to work great in v2017.

                However, the layers in the pull-down list are shown in apparently random order... Is there any way of changing that, so they are in alphabetical order, just like in the actual SK "Layers" window?

                I often have many dozens (or even hundreds) of layers in my models, so it's a real pain to scroll through a long list, looking for the ones I want. It would be great to have the option to sort that list in alphabetical order, and even better if it could be set to either ascending or descending order.

                when i click on 'name' (title of the column) in the window that shows layers, they are put in alphabetical order...

                1 條回覆 最後回覆 回覆 引用 0
                • S 離線
                  SK_Man_2020
                  最後由 編輯

                  @glro said:

                  when i click on 'name' (title of the column) in the window that shows layers, they are put in alphabetical order...

                  Then I guess I must have an older version of the plugin, because I don't see any "name" column in the plugin. All I see is a pull-down box with an arrow pointing down, and a button next to it labeled "New". Below that is a check box labeled "Layer visible on selected Scene only". If I click in that pull-down, I get the list of layers, but they are in random order. I don't see any column labeled "Name" on the plugin window. That's only in the layers window, not the plugin window. And when I click on "name" in the layers window, it does not change the order of the layers in the plugin window, only in the layers window.

                  What version of the plugin are you using? Is there a new version that has a "name" column on it?

                  This is what I get: Are you seeing something different?

                  AddLayer-window.jpg

                  1 條回覆 最後回覆 回覆 引用 0
                  • G 離線
                    glro
                    最後由 編輯

                    @sk_man_2020 said:

                    @glro said:

                    when i click on 'name' (title of the column) in the window that shows layers, they are put in alphabetical order...

                    Then I guess I must have an older version of the plugin, because I don't see any "name" column in the plugin. All I see is a pull-down box with an arrow pointing down, and a button next to it labeled "New". Below that is a check box labeled "Layer visible on selected Scene only". If I click in that pull-down, I get the list of layers, but they are in random order. I don't see any column labeled "Name" on the plugin window. That's only in the layers window, not the plugin window. And when I click on "name" in the layers window, it does not change the order of the layers in the plugin window, only in the layers window.

                    What version of the plugin are you using? Is there a new version that has a "name" column on it?

                    This is what I get: Are you seeing something different?

                    [attachment=2:2q4kk0ic]<!-- ia2 -->AddLayer-window.jpg<!-- ia2 -->[/attachment:2q4kk0ic]

                    i misunderstood your question; but i modified the plugin the way you want it
                    i just added one line:
                    layers.sort!
                    to the file 'main.rb'
                    (joined)
                    you just have to put it in your plugin folder, instead of the one that is already there

                    and the layers will be shown by alphabetic order


                    by alphabetic order


                    main.rb

                    1 條回覆 最後回覆 回覆 引用 0
                    • S 離線
                      SK_Man_2020
                      最後由 編輯

                      Wow! Cool! Thank you so much! That's VERY useful. Makes things a whole lot easier when there's hundreds of layers in a file. I wish I had the time to learn Ruby so I could do that type of thing.

                      Thanks again! Very much appreciated.

                      1 條回覆 最後回覆 回覆 引用 0
                      • G 離線
                        glro
                        最後由 編輯

                        @sk_man_2020 said:

                        Wow! Cool! Thank you so much! That's VERY useful. Makes things a whole lot easier when there's hundreds of layers in a file. I wish I had the time to learn Ruby so I could do that type of thing.

                        Thanks again! Very much appreciated.

                        you are welcome
                        this is what the forum is for

                        1 條回覆 最後回覆 回覆 引用 0
                        • B 離線
                          blackdogsketch
                          最後由 編輯

                          Jim
                          Cannot find this any longer. Not in the Extension Store and the manual download link on your blog doesn't work for me.
                          This is a super valuable tool for me and switching over to 2018 I've lost it.
                          Any help would be appreciated. Thanks.

                          1 條回覆 最後回覆 回覆 引用 0
                          • S 離線
                            sloworg
                            最後由 編輯

                            Hi all, I too have been on the search for Jim's Add_Layer plugin to no avail. Does anyone have a link or a copy that will work with Make 2017, please?

                            Thanks in advance

                            1 條回覆 最後回覆 回覆 引用 0
                            • 1
                            • 2
                            • 3
                            • 2 / 3
                            • 第一個貼文
                              最後的貼文
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement