I’m currently working on the window and door editing tool of the new Wall Plugin and I’m trying to collect the list of entities (groups) within my wall group that are doors and windows. Each group will have a regular naming convention (ie. door1, door2, door3 etc… or window1, window2, window3 etc…)
I am ashamed to say that my Ruby knowledge or experience with the grep method or function is not very strong. I am thinking this would be the best method for grabbing these groups from the list of entities within the wall group.
Any guidance or direction would be helpful. I think I can probably figure out the correct code but I just don’t want to go down a specific route when there might be a significantly better or more efficient way of doing this.