sketchucation logo sketchucation
    • Login
    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!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Select All Visible Dimensions

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    9 Posts 5 Posters 4.8k Views 5 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.
    • D Offline
      DaveS
      last edited by

      Does anyone know if there is a way (perhaps a plugin) that will allow all visible dimensions to be selected? Thanks for any info.

      Dave

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Copy and Paste this into the Console
        Sketchup.active_model.active_entities.each { |e| Sketchup.active_model.selection.add(e) if e.visible? && e.layer.visible? && e.class == Sketchup::Drawingelement && (e.typename == 'DimensionLinear' || e.typename == 'DimensionRadial') }

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

        1 Reply Last reply Reply Quote 0
        • Dave RD Offline
          Dave R
          last edited by

          Couldn't you just go to Model Info>Dimensions and click on the button?

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • D Offline
            DaveS
            last edited by

            thomthom,

            Thanks for the code. Works great. I'm a novice when it comes to Ruby scripts, so could you tell me if it would be very difficult to turn this into a plugin that could be accesssed from a menu button?

            Thanks again.

            Dave

            1 Reply Last reply Reply Quote 0
            • D Offline
              DaveS
              last edited by

              Dave R,

              Thanks for the reply. I hadn't thought of that approach. It will work, but I think I'd like to have a toolbar button to click to select all the dimensions.

              Again, thanks.

              Dave

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                Hi,
                My "quick selection" script does it (and more)
                Find it here: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_sel_page.htm

                DB

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  @didier bur said:

                  Hi,
                  My "quick selection" script does it (and more)
                  Find it here: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_sel_page.htm

                  I doesn't select entities inside groups/components. Only the active entities.

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

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DaveS
                    last edited by

                    Didier Bur and thomthom,

                    Thanks for the info on the plugin and the clarification.

                    Dave

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pibuz
                      last edited by

                      Hi Thom! Is there a way you can update this thingy to work on SU2022?
                      Seems it currently doesn't.... MANY THANKS IN ADVANCE!

                      WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                      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