Author Topic: Change multiple material properties at once  (Read 2098 times)

0 Members and 1 Guest are viewing this topic.

Offline apeiron

  • Newbie
  • *
  • Posts: 7
Change multiple material properties at once
« on: September 22, 2016, 02:16:44 am »
Hello,
I have a scene with hundreds of different materials but all with specularity set to 0/black.
is there a script or a way to change them all to a different value instead of having to go through each one by one?

thanks a lot.

Offline Will Gibbons

  • Hero Member
  • *****
  • Posts: 2849
  • willgibbons.com
    • My Website
Re: Change multiple material properties at once
« Reply #1 on: September 22, 2016, 07:02:13 am »
Hello,
I have a scene with hundreds of different materials but all with specularity set to 0/black.
is there a script or a way to change them all to a different value instead of having to go through each one by one?

thanks a lot.

There's a workaround that should be good enough for you until that feature is added.

1. Change material type of entire model to diffuse.
2. Change material type of entire model to plastic.
3. Multi-select items that need to be a different material and change those.

The images attached will show how. Right-click on the model and select material>change material type, then choose from the drop-down. This will clear the cached black value assigned to the specular parameter. Next, by doing the same process and changing them all to plastic or paint, you it will apply the default of a white specular to all items while retaining the diffuse color. Finally, you can multi-select bodies or items and do the same process to change material type to say metal, etc. as needed.

Let me know if that helped!

Offline apeiron

  • Newbie
  • *
  • Posts: 7
Re: Change multiple material properties at once
« Reply #2 on: September 24, 2016, 07:25:43 am »
thanks a lot Will, that definitely helps!