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!
Advertisement