Sketchup Select By Area Sizes
-
I have lots of faces but I want to select for example larger than 10 sqm.
Is there a way to select? like selection filter.Thank you.
-
Hi,
I sometimes need to do the same thing and so I wrote a simple ruby script to do it.
To use it, first select all the faces. Then open ruby console and copy/paste this code:model=Sketchup.active_model entities = Sketchup.active_model.entities sel=model.selection.grep(Sketchup;;Face) input=UI.inputbox(["Area;"],[100],"Input the lower limit of the area in Sketchup units") aftersel=[] sel.each{|x| if Sketchup.format_area(x.area).to_f>input[0] aftersel<<x end } model.selection.clear model.selection.add(aftersel)
In the input dialog use area measures in the units your sketchup is set to. (My sketchup is set to meters so this will select faces with area of more than 100 square meters).
Best regards
-
This is amazing. Thank you.
-
Would it be possible to tweak this script to delete faces smaller than x? Can this work on nested groups and components?
-
Sketchup Select By Area Sizes Topic is solved ... (My sketchup is set to meters so this will select faces with area of more than 100 ...When the Select tool is active, you can select multiple entities in any of the following ways: Click love language test and drag to make a temporary selection box around the items you want to select - When you click and drag with the Select tool you create a temporary selection box. the Object Selection tool (W) from the toolbar in the workspace. In the Options bar, at the upper-right corner of the workspace, ensure that the Object Finder is enabled. Hover the mouse pointer over an object or region in your image you would like to select.
Advertisement