Count and manipulate groups nested in a component

Also, if you are still running SU 17.3, bookmark these pages for Ruby 2.2.4 docs …


In the SketchUp API doc pages for it’s classes, pay attention to the top of the page where it lists what libraries are included. You will find that most all of the collection classes mix in the Enumerable library.

It is from this library that the #grep and #find_all methods come.