Zoom Selection
-
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.
-
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]
-
@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. -
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?
-
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?
-
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. -
Unfortunately, we can't control "hide rest of the model" via ruby....
-
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 !
-
Sir Matt!!!
-
Dear Matt,
How does your script work?
Regards,
Bob -
-
Thank you for the instructions.
-
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ยซ?
-
Hi N Lindenthal !
Ok I see ! I don't know if it's possible. I will see. -
-
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!
-
@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.
-
@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 ?
-
thanks Matt, but i'm slightly confused. the idea is to zoom a selected object to screen (and if nothing is selected all objects) - what is the right click for? obviously i'm missing something..
-
The last script was for N lindenthal. But i don't understand what he relly wants... My poor english language !!
This last script zooms on selected entities, and hide others. The right click stops script and gives last view before starting script.
Advertisement