Just happened to think of it, I actually had added a function for that. I’m sure the same thing could be done for a group.
class Sketchup::ComponentInstance
def get_glued_instances
return self.parent.entities.grep(Sketchup::ComponentInstance).find_all {|c| c.glued_to == self}
end
end
I’m not sure if adding functionality to SketchUp would be condoned in a public extension.