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!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    [Plugin] Add Layer [1.1.0]

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

      I thought so, but 3 files have been updated in SKUI and not in Add Layer:

      core.rb
      embed_skui.rb
      js/ui.js

      But those changes are related to FILE encoding, and browser detection.

      Hi

      1 條回覆 最後回覆 回覆 引用 0
      • TIGT 線上
        TIG Moderator
        最後由 編輯

        @otb designworks said:

        I am running mac 10.9.5 and SU2015. This plugin is not working at all on my system. It will create a new scene, regardless of visibility settings, but this scene is visible on all existing and new layers. It is as if I had used the + button in the Scene Palette.

        It was installed through the Sketchucation Plugin

        Thoughts?
        I am confused 😕
        This Plugin opens a dialog so you can make a new Layer or modify the behaviors of a selected existing Layer.
        The Layer's 'behavior' relates to Scene tabs, and it is in three parts.

        • Visible in selected [current] Scene tab only
        • Visible/Hidden in existing Scene tab
        • Visible/Hidden in new Scene tabs
          It does not create Scenes ?

        You seems to be jumbling Layer and Scene 😕
        Please clarify...

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • O 離線
          otb designworks
          最後由 編輯

          I am running mac 10.9.5 and SU2015. This plugin is not working at all on my system. It will create a new layer, regardless of visibility settings, but this layer is visible on all existing and new scenes. It is as if I had used the + button in the Layer Palette.

          It was installed through the Sketchucation Plugin

          Thoughts?

          Cheers, Chuck

          OTB Designworks is on Youtube

          6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

          1 條回覆 最後回覆 回覆 引用 0
          • O 離線
            otb designworks
            最後由 編輯

            Yeah, TIG, you had every right to be confused as my original post was, in fact jumbling layers and scenes. I have edited it to reflect what I am seeing correctly.

            In short, no matter the settings I choose in the plugin, I get a new layer that is visible on all existing and new scenes.

            Sorry for the confusion.

            Cheers, Chuck

            OTB Designworks is on Youtube

            6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

            1 條回覆 最後回覆 回覆 引用 0
            • TIGT 線上
              TIG Moderator
              最後由 編輯

              OK, maybe Jim needs to test/comment...

              TIG

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

                Are you hitting the Apply button?

                Hi

                1 條回覆 最後回覆 回覆 引用 0
                • O 離線
                  otb designworks
                  最後由 編輯

                  I am. It is creating the layer after I do, but the layer visibility is as if I set it to always visible for existing and new scenes, regardless of what I input. I went back to using your old create hidden layer plugin which has been indispensable to me for years and it works fine in SU2015

                  Cheers, Chuck

                  OTB Designworks is on Youtube

                  6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                  1 條回覆 最後回覆 回覆 引用 0
                  • O 離線
                    otb designworks
                    最後由 編輯

                    Well, no I wasn't actually. I just went back and realized that I created the new layer name, made my visibility chooses, and then hit done. doh.

                    It is amazing how well it works when one hits apply first.

                    Thanks guys, I'm sorry to waste everyone's time

                    Cheers, Chuck

                    OTB Designworks is on Youtube

                    6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

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

                      Not wasted at all - the fact that my guess was correct validates a suspicion I had that the plugin is not as intuitive as it needs to be. Thanks for reporting.

                      I find the core of many plugins can be written in few lines of code. It is far more difficult to create a good user experience.

                      Hi

                      1 條回覆 最後回覆 回覆 引用 0
                      • O 離線
                        otb designworks
                        最後由 編輯

                        I think it pretty slick how you have set up so one can make multiple changes without closing the dialogue. I guess I just assumed that the apply button was for changing the attributes of an existing layer and that, if I was making a new layer, that the done button would create the layer with the choices made as a default. Love the plugin, btw! Thanks for updating it.

                        Cheers, Chuck

                        OTB Designworks is on Youtube

                        6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

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

                          This is NOT working for the primary task. Add a new layer for This Scene Only.
                          When I do this, the layer shows up in every scene. Nothing different than making a new layer narmally.
                          What is going on?

                          SU 2015/Win 7 64 bit

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

                            @sketchydog said:

                            This is NOT working for the primary task. Add a new layer for This Scene Only.
                            When I do this, the layer shows up in every scene. Nothing different than making a new layer narmally.
                            What is going on?

                            SU 2015/Win 7 64 bit

                            Make sure to press the Apply button?

                            Hi

                            1 條回覆 最後回覆 回覆 引用 0
                            • JClementsJ 離線
                              JClements
                              最後由 編輯

                              Would it be possible to have a button (or mouse-over) in the UI which would display a temporary dialog with a summary of which layers have the "Add Layer's HIDDEN attribute" assigned to them and their type of HIDDEN attribute (eg. for a specific scene only, new scenes, etc.)?

                              John | Illustrator | Beaverton, Oregon

                              1 條回覆 最後回覆 回覆 引用 0
                              • O 離線
                                otb designworks
                                最後由 編輯

                                Hi Jim,

                                I am experiencing an odd behavior with your Plugin.

                                If I open the Plugin window everything works as expected.

                                If I close the window, however, I can never get it to come back on without completely quitting SU and starting over.

                                Also, I flip between SU and LO with command/tab shortcut on my Mac. If the Plugin window is open while I am doing this, then, when I flip from LO to SU, the curser is unable to click or change tools unless I click up in the menu bar first. If the Plugin window is not open, then everything works as expected.

                                I am using SU 15.0.9349 and LO 15.0.9349 and OS X 10.10.1

                                Cheers, Chuck

                                OTB Designworks is on Youtube

                                6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

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

                                  I get the following error when I have multiple sketchup documents open (Document1, Document2).
                                  The error occurs when I try to use this tool in Document 2, and have previously created a new layer '-section-PLAN-L0' using this tool in Document 1.

                                  Error; #<ArgumentError; '-section-PLAN-L0' not valid values in list.>
                                  /Users/me/Library/Application Support/SketchUp 2015/SketchUp/Plugins/jf_add_layer/SKUI/listbox.rb;207;in `value='
                                  /Users/me/Library/Application Support/SketchUp 2015/SketchUp/Plugins/jf_add_layer/main.rb;37;in `main'
                                  /Users/me/Library/Application Support/SketchUp 2015/SketchUp/Plugins/jf_add_layer/main.rb;205;in `block in <module;AddLayer>'
                                  SketchUp;1;in `call'
                                  

                                  Using SU-2015-15.3.329 on OSX Yosemite 10.10.2

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

                                    I really whish for an option in the dialogue box to choose layer visibility states in future creations of scenes to behave as they would normaly do, meaning copying exact layer visibility states from the scene used as the creation source. As it is now the dialogue offers you to choose eiter visible or invisible layer states in future scene creations. If this is implemented I will save a lot of time an be extremely greatfull!! Thanks!!!

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

                                      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'
                                      
                                      1 條回覆 最後回覆 回覆 引用 0
                                      • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement