• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Can we select by layer?

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
10 Posts 6 Posters 14.1k Views 6 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.
  • T Offline
    troyhome
    last edited by 8 Oct 2009, 03:19

    I hope this is a doh! moment, but is there a way to simply select everything on a given layer?

    IOviz.com
    SU Pro 2024 PC

    1 Reply Last reply Reply Quote 0
    • T Offline
      takesh h
      last edited by 8 Oct 2009, 04:19

      Not with native SU tools, but with Didier's Layer manager, it's possible.
      Try [Select/Deselect layer content] tool of Layer manager.

      1 Reply Last reply Reply Quote 0
      • H Offline
        honoluludesktop
        last edited by 8 Oct 2009, 07:48

        Perhaps I don't understand the question, but why can't you simply turn off the layers you do not want to see, then work with whats left? This works unless the entities are part of a component. In that case you edit component, then turn the unaffected layers off.

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 9 Oct 2009, 17:51

          It is built-in. Select an Object on the required Layer. Right-click and in the Context-Menu near the top is Select... Pop this out and there' Select all on Same Layer... All active Objects on that Layer are Selected.

          TIG

          1 Reply Last reply Reply Quote 0
          • T Offline
            troyhome
            last edited by 9 Oct 2009, 18:50

            @honoluludesktop said:

            Perhaps I don't understand the question, but why can't you simply turn off the layers you do not want to see, then work with whats left? This works unless the entities are part of a component. In that case you edit component, then turn the unaffected layers off.

            This worked- of course!!!
            You can't select by layer unless you're in an active group or component, and all my objects were groups or components. I'll have to give a look at Layer Manager!
            Thanks all

            IOviz.com
            SU Pro 2024 PC

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 9 Oct 2009, 19:55

              After you have selected all of the objects on the same layer [even if they are in different entities sets], what are you going to do with them ?

              assume the model is defined as 'model' and the layer is 'layer'

              ss=model.selection
              ss.clear
              model.entities.each{|e|ss.add e if e.layer==layer}
              model.definitions.each{|d|d.entities.each{|e|ss.add e if e.layer==layer}}

              ALL entities on 'layer' are now 'selected'...

              NOW what will you do ?

              TIG

              1 Reply Last reply Reply Quote 0
              • T Offline
                takesh h
                last edited by 9 Oct 2009, 23:01

                @tig said:

                It is built-in. Select an Object on the required Layer. Right-click...

                Yes and No, because [Select by right-click context menu] works only on a free single entity (such as an edge or face), not a group or a component. And it goes against the golden rule of SU "all free entities should be in Layer 0".
                However, once invoked, the function selects groups and components as well as free entities.
                So if you don't mind going over trouble of changing the layer of a free entity for the sake of the function, yes, it could work.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  glro
                  last edited by 16 Aug 2014, 13:24

                  @troyhome said:

                  I hope this is a doh! moment, but is there a way to simply select everything on a given layer?

                  I came to the conclusion i needed such a plugin too

                  i didn't find anything simple already made

                  so i made it (in a simple way)

                  the plugin writes the answer of the prompt in a text file to recall it for the following prompt (some people might not like it)

                  and it would be much better to have a popup window to choose among the layer you want to select instead of having to type it (but it is complicated and i don't know how to do that)

                  but, here is the simple plugin


                  select by layer

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jiminy-billy-bob
                    last edited by 18 Aug 2014, 07:04

                    @glro said:

                    I came to the conclusion i needed such a plugin too
                    i didn't find anything simple already made

                    Layers Panel does that :
                    http://sketchucation.com/plugin/751-layers_panel

                    25% off Skatter for SketchUcation Premium Members

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      glro
                      last edited by 18 Aug 2014, 16:55

                      @jiminy-billy-bob said:

                      @glro said:

                      I came to the conclusion i needed such a plugin too
                      i didn't find anything simple already made

                      Layers Panel does that :
                      http://sketchucation.com/plugin/751-layers_panel

                      yes, i tried
                      but it doesn't work on my computer

                      bug related to IE v11, it seems...

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Buy SketchPlus
                      Buy SUbD
                      Buy WrapR
                      Buy eBook
                      Buy Modelur
                      Buy Vertex Tools
                      Buy SketchCuisine
                      Buy FormFonts

                      Advertisement