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] Selection Memory

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

      Overview
      Response to this thread: http://forums.sketchucation.com/viewtopic.php?f=15%26amp;t=42390
      Will let the user cycle through the five last selection sets. Useful when you for instance accidentally deselects a carefully crafted selection.

      Important!
      This plugin has not been tested under OSX! It is not known how it will behave under SketchUp OSX where one process can have multiple models open. Unpredictable behaviour will most likely occur - possibly bugsplats.

      Modification
      To modify the number of saved sets, modify this constant:
      SELECTION_STACK_SIZE = 5
      I recommend you do not change this to a too large number.

      Access
      Edit > Cycle Previous Selections

      Features

      • Cycle Previous Selections
        Cycles through the last 5 selection sets.

      Requirements

      • SketchUp 8 or newer - ( Other versions untested )
      • Might work with older version. Just test for yourself. Either it works or it doesn't.

      Link Preview Image
      SketchUp Plugins | PluginStore | SketchUcation

      SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

      favicon

      (sketchucation.com)

      Footprint

      http://forums.sketchucation.com/download/file.php?id=53762
      <Sketchup>/Plugins/
      +-
      http://forums.sketchucation.com/download/file.php?id=53763
      tt_selection_memory.rb


      http://forums.sketchucation.com/download/file.php?id=53761

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 條回覆 最後回覆 回覆 引用 0
      • Rich O BrienR 離線
        Rich O Brien Moderator
        最後由 編輯

        Nice tool 👍

        Works like a charm

        Download the free D'oh Book for SketchUp 📖

        1 條回覆 最後回覆 回覆 引用 0
        • mitcorbM 離線
          mitcorb
          最後由 編輯

          Thanks, thomthom:
          Tested in Sketchup 7, also. Worked on first try.

          I take the slow, deliberate approach in my aimless wandering.

          1 條回覆 最後回覆 回覆 引用 0
          • thomthomT 離線
            thomthom
            最後由 編輯

            @mitcorb said:

            Tested in Sketchup 7, also. Worked on first try.

            👍 👍

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              When you double click - two selections sets are made. One for the first click on the face - and one on the second click when edges are selected.
              If you deselect after a doubleclick you need to cycle two times to restore the selection with both borders. It is a bit counter-intuitive some times like that.

              Basically how it works:
              Every times you change the selection - the selection set is stored in the selection stack.
              Cycle selection advances the internal index and fetches the selection set associated with that index.

              The plugin is a bit rough around the edges like that.

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 條回覆 最後回覆 回覆 引用 0
              • massimoM 離線
                massimo Moderator
                最後由 編輯

                Thanks! 👍
                It seems not working with edges with the last selection. I mean select a rectangle with a double click-->deselect-->"cycle previous selection" and only the face is selected. But if you've made another selection and go back to the initial selection then it works.
                SU pro 7.1

                1 條回覆 最後回覆 回覆 引用 0
                • massimoM 離線
                  massimo Moderator
                  最後由 編輯

                  Oh, I see. Thanks again. 😄

                  1 條回覆 最後回覆 回覆 引用 0
                  • massimoM 離線
                    massimo Moderator
                    最後由 編輯

                    Another thing: it seems not working with selection window from left to right. Is that normal?
                    Also not working with artisan's select brush.

                    1 條回覆 最後回覆 回覆 引用 0
                    • thomthomT 離線
                      thomthom
                      最後由 編輯

                      @massimo said:

                      Another thing: it seems not working with selection window from left to right. Is that normal?

                      Seems to work here. SU8?
                      As far as I've seen - it work with any selection.

                      Not sure how Artisan's selection brush works. If it continuously updates the selection then it might cause unexpected behaviour - as the stack will the flushed very quickly. It works by using SketchUp's selection observer...

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 條回覆 最後回覆 回覆 引用 0
                      • N 離線
                        numerobis
                        最後由 編輯

                        WOW! This sounds great! I have to test it...
                        thanks!!! 😎

                        1 條回覆 最後回覆 回覆 引用 0
                        • massimoM 離線
                          massimo Moderator
                          最後由 編輯

                          I have SU 7.1 and can confirm that here not works with left-->right selection while it works with right-->left selection.

                          1 條回覆 最後回覆 回覆 引用 0
                          • thomthomT 離線
                            thomthom
                            最後由 編輯

                            @massimo said:

                            I have SU 7.1 and can confirm that here not works with left-->right selection while it works with right-->left selection.

                            Just tried it myself - I see no problems with Left to Right as oppose to Right to Left...

                            Are you able to make a short video of what you see?

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 條回覆 最後回覆 回覆 引用 0
                            • thomthomT 離線
                              thomthom
                              最後由 編輯

                              Ah - it's something to do with how it retrieves back the previous selections. What you are experiencing is probably that it retrieves an earlier selection set. Might be empty.

                              There is five slots of selection sets - always - even when you start a fresh model. Keep cycle through and it will come back. I'll have a look at it. But this plugin isn't on top of my priority list.

                              Thomas Thomassen — SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 條回覆 最後回覆 回覆 引用 0
                              • massimoM 離線
                                massimo Moderator
                                最後由 編輯

                                Ehm...I'm afraid not. Anyway this is what i do:

                                • Draw a simple rectangle for example;
                                • Select all (edges and face) with a left-->right window.
                                • click anywhere to deselect;
                                • run "cycle previous selection" and nothing happens.
                                  EDIT it's not working with right-->left selection either.
                                1 條回覆 最後回覆 回覆 引用 0
                                • massimoM 離線
                                  massimo Moderator
                                  最後由 編輯

                                  @unknownuser said:

                                  There is five slots of selection sets - always - even when you start a fresh model

                                  Ah! That's maybe the reason. Thought that with a fresh model the "memory" would have been deleted.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • thomthomT 離線
                                    thomthom
                                    最後由 編輯

                                    Well, it does - but there's a pre-reserved set of slots regardless. Which then are "filled" as you use it.

                                    The plugin was written very quickly so unfortunately it has this behaviour which is illogical from a user point of view. 😕

                                    Thomas Thomassen — SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • massimoM 離線
                                      massimo Moderator
                                      最後由 編輯

                                      Ok, no problem. 😄

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • andybotA 離線
                                        andybot
                                        最後由 編輯

                                        Thanks Thomthom 👍 👍
                                        works as expected for me!

                                        http://charlottesvillearchitecturalrendering.com/

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • thomthomT 離線
                                          thomthom
                                          最後由 編輯

                                          Version 1.0.1
                                          Did a quick tweak to it. I believe it should retrieve the previous selection more predictably now.

                                          Thomas Thomassen — SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • massimoM 離線
                                            massimo Moderator
                                            最後由 編輯

                                            Now it seems to work just fine. 👍 👍

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

                                            Advertisement