# Method to remove interpolated settings?

**URL:** <https://forums.chaos.com/t/method-to-remove-interpolated-settings/18956>\
**Category:** General\
**Created:** [October 2, 2008, 5:00pm UTC](https://forums.chaos.com/t/method-to-remove-interpolated-settings/18956 "2008-10-02T17:00:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [October 2, 2008, 5:00pm UTC](https://forums.chaos.com/t/method-to-remove-interpolated-settings/18956/1 "2008-10-02T17:00:51Z")

</div>

We have inherited a series of complex models which we are going to be using to create an animation. There are hundreds of vray materials applied to all the geometry, each with useless names (material #112, material #564 etc). Many of the materials are multi-sub object materials.

My problem is that many of the materials have interpolation ticked on for glossy reflections (and, in some instances, refractions). Any ideas how I can globally tell all materials to have ‘none’ interpolated materials?

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [October 2, 2008, 5:21pm UTC](https://forums.chaos.com/t/method-to-remove-interpolated-settings/18956/2 "2008-10-02T17:21:07Z")

</div>

found one - VMC on scriptspot. Yippeeeeee!

---

<div class="post-metadata">

**Author:** ![MoonDoggie](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/moondoggie/32/68517_2.png) [@MoonDoggie](https://forums.chaos.com/u/MoonDoggie)\
**Post date:** [October 2, 2008, 5:29pm UTC](https://forums.chaos.com/t/method-to-remove-interpolated-settings/18956/3 "2008-10-02T17:29:14Z")

</div>

````auto

(
    for m in sceneMaterials do (
        if classof m == multimaterial then (
            for i=1 to m.numsubs do (
                try (
                    m[i].reflection_useInterpolation = false
                    m[i].refraction_useInterpolation = false
                ) catch ()
            )
        ) else (
            try (
                m.reflection_useInterpolation = false
                m.refraction_useInterpolation = false
            ) catch ()
        )
    )
)

```this will get them all, just run it if anyone else needed it.
````

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [October 2, 2008, 7:38pm UTC](https://forums.chaos.com/t/method-to-remove-interpolated-settings/18956/4 "2008-10-02T19:38:09Z")

</div>

Our version here at work is called “FindNastyInterpolatedGlossies” :lol:
