ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
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_operation
Should do it pasted into the Ruby Console - one step undo-able...
Advertisement