Materials renamed direct after opening

General discussion related to SketchUp Pro and Make

Materials renamed direct after opening

Postby faust07 » Tue Oct 09, 2018 10:30 pm

For some time, the following happens:
After opening a file in SketchUp Make 2017, all materials are automatically renamed.
All materials will be renamed and numbered from the immediate opening of the model from "mat000" to "mat ..".
I can not find the cause: a thoughtless presetting; a plugin that operates secretly ???
Unfortunately I only realized after a long time of acceptance that I could have done an undo after the start.
Approximately 400 materials are now stereotypically numbered - painting by numbers ..
Any help or information is very welcome.
0

faust07 
 

Re: Materials renamed direct after opening

Postby TIG » Wed Oct 10, 2018 1:08 pm

It sounds like a loading plugin messing you up.

Try opening an empty model and then using the SketchUcation Toolset's Plugin Manager to disable say 50% of your Plugins.
Then restart SketchUp - so those plugins don't load - and see if it still messes with material names this time.
If not you know that the culprit is in the disabled set, otherwise it's in the currently loading set, so disable half of those etc and retest...

You could try and sidestep some testing by making a list of possible candidates...
e.g. a renderer like Vray can cause flakiness...
Obviously a simple plugin that has nothing to do with materials is unlikely to be the culprit...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: Materials renamed direct after opening

Postby faust07 » Wed Oct 10, 2018 11:34 pm

Thanks for your help! This method may take a while.
I was able to use the model backups to find out when the problem occurred and what plugins I had installed or updated during that time.
There is no relation to it.
The conversion of the material names takes place directly during the program start.
Which plugins are already active in the launch of Sketchup?
Have only now (unfortunately too late) found that I can undo this action after starting the program ...
1

faust07 
 

Re: Materials renamed direct after opening

Postby TIG » Thu Oct 11, 2018 11:21 am

All plugins 'load' as SketchUp starts.
If they are written as extensions they might not actually do much if they are disabled.

However some tools use 'observers' attached to various contexts - including Materials...
If these are flaky it might cause issues...
Disabling plugins 'by halves' is relatively quick, and could reveal the culprit.

You can speed the process further by concentrating on complex plugins which might affect materials etc, there are many plugins that never go near material settings - so you can ignore those - at least initially...

So, do you have a renderer like Vray loading ?
That might mess with material names unexpectedly ??
1
TIG
User avatar
TIG 
Global Moderator
 

Re: Materials renamed direct after opening

Postby faust07 » Thu Oct 11, 2018 3:54 pm

Its a plugin: TT_materials_renamer.rb
After disabling the problem was solved.
Thanks again!
1

faust07 
 

Re: Materials renamed direct after opening

Postby TIG » Thu Oct 11, 2018 5:46 pm

Solution !
Can I suggest you send a PM to the author [thomthom] and explain the problem...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: Materials renamed direct after opening

Postby faust07 » Thu Oct 11, 2018 11:54 pm

Hey, Thomas is a superstar for me (and you too) and i think, he knows what he coded in 2013. My problem, when i use an old plugin..
1

faust07 
 

Re: Materials renamed direct after opening

Postby faust07 » Sat Oct 13, 2018 9:59 am

have found the topic "Rename Materials" and the posts there the problem was mentioned in 2013:
viewtopic.php?f=323&t=47234&p=482611&hilit=rename+materials#p498542
1

faust07 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp Pro & Make Discussions

Who is online

Users browsing this forum: eXoTaylor and 5 guests

Visit our sponsors: