I’m fairly new to ruby and SketchUp’s API though I have spent some time written a short bit of code to help generate and clean up diagonal lines on a surface. I welcome any feedback, code critiques and help. The code seems to work fine up until I need to ‘grep’ the edges within the overall group and delete them. In SketchIp model space I can see the lines are indeed selected but the group hierarchy is not as I would expect. Additionally, when trying to ‘clear’ or ‘erase’ the unnecessary edges, a bugsplat occurs. Does anyone here have any ideas?
Grep Problems.rb (2.6 KB)