# encoding: UTF-8
m = Sketchup.active_model
t = m.entities.grep(Sketchup::Group).select { |g| g.name.to_s.end_with?("_6T_20260919") && g.name.to_s.include?("jog") }
puts "삭제 #{t.length}: #{t.map { |g| g.name }.inspect}"
unless t.empty?
  m.start_operation("격판 재작업 전 삭제", true)
  t.each { |g| g.erase! }
  m.commit_operation
end
puts "완료"
"DELP4"
