sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    Zoom Selection

    Scheduled Pinned Locked Moved Developers' Forum
    36 Posts 10 Posters 5.3k Views 10 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.
    • CadFatherC Offline
      CadFather
      last edited by

      even when the entities inside are selected (highlighted)?

      1 Reply Last reply Reply Quote 0
      • PixeroP Offline
        Pixero
        last edited by

        It zooms into what ever is selected. As its name says. 🤓
        What do you want it to do? Zoom into the unselected open group?

        1 Reply Last reply Reply Quote 0
        • Alan FraserA Offline
          Alan Fraser
          last edited by

          I've got Jim's version, available from this forum, but it does the same thing...zooms to any selected faces in an open group.

          3D Figures
          Were you required to walk 500 miles? Were you advised to walk 500 more?
          You could be entitled to compensation. Call the Pro Claimers now!

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            if i select something inside of a group it does not work - but will fit the contents to screen if nothing is selected. 😎

            all i'm doing is edit geometry inside the group..

            EDIT i take it open group means inside of it - what about comps?

            [can't seem to replicate it now but when modeling complex stuff it always happens]

            1 Reply Last reply Reply Quote 0
            • PixeroP Offline
              Pixero
              last edited by

              @cadfather said:

              if i select something inside of a group it does not work - but will fit the contents to screen if nothing is selected.

              What do you mean with "It doesnt work" ? What do you want it to do?
              If you are inside a group the group itself isn't selected.
              My script zooms in to whats selected. Inside group or not.

              1 Reply Last reply Reply Quote 0
              • CadFatherC Offline
                CadFather
                last edited by

                it happens especially with large models [most of mine are]

                if i am inside a group and i select an entity, when i press zoom the selected entity is not zoomed to screen. if i deselect then the contents of the group will fit to screen

                now that is strange right?

                1 Reply Last reply Reply Quote 0
                • CadFatherC Offline
                  CadFather
                  last edited by

                  ok, this is what happens to the script: if i am inside of a group/component and 'hide rest of model' is on, zoom selection does not work. surely this must happen to everyone?

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TonyF
                    last edited by

                    I've just tried it.
                    When Hide similar components is checked, it works fine.
                    When Hide rest of model is checked, it ignores the selected entity and zooms to the origin.
                    Must be a bug.
                    I guess we just need to select, then zoom, then hide.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Matt666
                      last edited by

                      Unfortunately, we can't control "hide rest of the model" via ruby....

                      Frenglish at its best !
                      My scripts

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Matt666
                        last edited by

                        Oh !! I have found a script can control this function !! Thank you Jim !

                        Sketchup.active_model.rendering_options["InactiveHidden"] = !Sketchup.active_model.rendering_options["InactiveHidden"]
                        

                        The code is ready guys !


                        Context menu...

                        Frenglish at its best !
                        My scripts

                        1 Reply Last reply Reply Quote 0
                        • CadFatherC Offline
                          CadFather
                          last edited by

                          Sir Matt!!! 😍 😄

                          1 Reply Last reply Reply Quote 0
                          • W Offline
                            watkins
                            last edited by

                            Dear Matt,

                            How does your script work?

                            Regards,
                            Bob

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              N Lindenthal
                              last edited by

                              @Matt

                              Zoom selection works great.

                              My question is, how it would be possible not to zoom, but to scale. A door would zoom to screen, a door handle would scale.

                              @watkins
                              select a group/component/item, right mouse click > »Zoom on selected«. The selected item fills the screen

                              1 Reply Last reply Reply Quote 0
                              • W Offline
                                watkins
                                last edited by

                                Thank you for the instructions.

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  N Lindenthal
                                  last edited by

                                  @Matt

                                  Maybe my questions was not understandable.

                                  I would like not to zoom all selected items, but to see them from the near with same distance, so that a door or a door handle is shown with same scale in the middle of the screen. Is that possible with »Zoom Selection«?

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Matt666
                                    last edited by

                                    Hi N Lindenthal !
                                    Ok I see ! I don't know if it's possible. I will see. 😄

                                    Frenglish at its best !
                                    My scripts

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      Matt666
                                      last edited by

                                      Try this, and tell me what you think about !


                                      Context menu "Zoom sel 2"

                                      Frenglish at its best !
                                      My scripts

                                      1 Reply Last reply Reply Quote 0
                                      • CadFatherC Offline
                                        CadFather
                                        last edited by

                                        Matt, a couple of bugs i think - when i am inside a group and i select a face, SU zooms to the face but hides all other geometry inside the group (!) - second (even worse) is that after i zoom, i can't do anything: the cursor is the selection tool but it actually doesn't work..it's in some kind no tool suspension. thought you'd be glad to know! 😮 😄

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          N Lindenthal
                                          last edited by

                                          @CadFather
                                          Your list of mistakes I could verify. But with right mouse click I could leave the marked object.

                                          @Matt
                                          Is there a difference to zsel.rb?

                                          I look to your Zoom Selection, because I look for a way to find objects in my SU-model by name by dragging them in the middle of screen with even same distance. Looking distance for example even 200 cm. This way, all found objects are shown with same scale.

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Matt666
                                            last edited by

                                            @CadFather,
                                            😄 When the tool's activating, you can read on the bottom left of the screen : "Right-click to quit..." 😉

                                            @n lindenthal said:

                                            Is there a difference to zsel.rb?

                                            Yes but this is not what you want... I don't understand what you want, sorry... Can you show some images, perhaps ?

                                            Frenglish at its best !
                                            My scripts

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

                                            Advertisement