Importing texture libraries from older versions of SketchUp

 I have installed the new sketchup 2017!  I cannot figure any way of moving my texture libraries to the newer version of sketchup.  Moving them one by one will take way too long there's got to be an easier way.
 I'm on Mac OSX sierra 10.12.1.
There is one old thread that covers this topic but has not been answered correctly.   Does anyone know where the texture library file exists??

Thanks

the ‘Materials’ folder is in:
/Users/<your name>/Library/Application Support/SketchUp 2017/SketchUp/Materials
.

you can either navigate there and manually copy folders or use ‘Ruby Console’ inside SU with this code snippet…

v17mats = Sketchup.find_support_file('Materials')
v16mats = v17mats.sub('7', '6')
 `ditto "#{v16mats}" "#{v17mats}" `

john

Even better, at least going forward, as of SU 2017 the Preferences->Files panel lets you set whatever path you would like for your personal custom Materials folder. You don’t have to use the default one @john_drivenupthewall mentions. You could even point SU 2017 back to your 2016 Materials folder without copying anything. You will, in the future, be able to carry materials forward by putting them in a version-independent folder (and maybe SU 2018+ will pick up your setting automatically)!

2 Likes

Thanks for the input.

John, I found the materials folder in 2017 in that location but there are no materials folders in that location for the 2015 or 2016 versions. 

I’m not familiar with how to use the ruby console but i copied the snippet to my console pressed enter but nothing happened.

slbaumgartner, That’s a nice feature, thanks.

Can anybody tell me how to find those material folders from my 2015 and 2016 versions?

you most likely used the ‘wrong’ location in the earlier versions, but you can use Ruby Console from inside the earlier version…

and you can just open it in Finder from there as well…

mats = Sketchup.find_support_file('Materials')

`open "#{mats}"`

john

Yeah!!! Thank you John.
That brought me to my materials folders for both my earlier versions of sketchup.
They were located in the sketchup.app. not in the application support folder as noted in other threads.
For anyone else looking for these folders. Use the ruby code john provided or:
On a mac OSX, go to the application folder, right click the sketchup version you wish to retrieve the textures from and select show package contents (this is the step I’ve been missing for years), then follow the path,
Contents/Resources/Content/Materials

Thanks again for your help!

To avoid going through all those gymnastics in the future, make a SketchUp Resources folder somewhere that is easily accessible. Put in Documents or just make a new directory on the the local drive. Put all of your materials, textures, components, custom styles, etc. into subfolders within that directory. Then point SketchUp to those subfolders when you install a new version.

I’m trying to import all the materials I’ve colledted/made and cannot get su17 to see them, I’ve tried directing the program to the materials location via the preferences dialog and also places them in the materials folder in users/app data/roaming / sketchup etc. neither seems to work, are there any other suggestions you could make?

su 17 make on a dell laptop

To mass import a folder full of jpegs for se in SU as textures… Using SU2018…
install the TIG plugin Import all (SketchUcation)
Under File, "Import all from folder"
navigate to the folder, open the folder and select the first of the files you want, this identifies the file type to the plugin, don’t worry that you can’t select the other files… ALL similar extension files will be picked up.
Import
This will bring in all the images (e.g. colour blocks) and line them all up along the red axis.
Select all and right hand mouse button "explode"
This actions adds all the images as textures into the texture palette “colours in model” i.e. the house icon on the material palette window
Select the Colours in model/ house icon to display the images/ colours just imported
to add these en masse, to a new folder… at the bottom of the material icon s window select "list"
select duplicate
this opens a new material folder with a copy of all the newly imported materials… change the name (it is Colours in model copy, by default)
Select this new list from the material folders drop down list and check everything is there, don’t forget to select the first material (the grey/white split box- std default material) and delete it

1 Like