Select All Visible Dimensions
-
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
-
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') } -
Couldn't you just go to Model Info>Dimensions and click on the button?
-
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
-
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
-
Hi,
My "quick selection" script does it (and more)
Find it here: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_sel_page.htm -
@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.htmI doesn't select entities inside groups/components. Only the active entities.
-
Didier Bur and thomthom,
Thanks for the info on the plugin and the clarification.
Dave
-
Hi Thom! Is there a way you can update this thingy to work on SU2022?
Seems it currently doesn't.... MANY THANKS IN ADVANCE!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement