model = Sketchup.active_model.materials
Sketchup.active_model.start_operation '...'
Sketchup.active_model.materials.each{|e|
a = (10+rand*90).to_i.to_s
e.name = e.name.gsub('<', a)
e.name = e.name.gsub('>', a)
}#脚本作者:dota_
Sketchup.active_model.commit_operation 这一堆东西全部复制?