Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily  Download 
Renaming Materials in batch?
- 
Hi, is there someone can tell me how to rename all the materials at once with the skp file names? Million thanks!
 - 
mod=Sketchup.active_model mas=mod.materials nam=mod.name nam='Untitled' if nam=='' mod.start_operation('mat-renamer', true) mas.each{|m| m.name=nam+'-'+m.display_name } mod.commit_operationShould do it pasted into the Ruby Console - one step undo-able...
 
Advertisement