Posted by: Jeff | 2009/10/08

MaxScript: Clear All UVW Unwrap Textures

On most scenes that use the UVW Unwrap modifier, there will be cases where you might be wondering why you’re getting some maps in the Asset Tracking editor, but it isn’t used in any of the objects in the scene. Chances are that those maps are still inside the UVW Unwrap modifier’s internal texture list.

One way to remove those is to look for all your objects with the Unwrap modifier then collapse them down to an editable class.

But on some cases where collapsing is not an option, here’s a very handy short script that you can run.

for i in getClassInstances Unwrap_UVW do i.texMapList = #()

It will collect all the Unwrap modifiers then clear their texture map list.



  1. This post may be several years old but that short line of mxs just saved me a lot of time – so I just had to say thank you!!

    • You’re welcome. Glad you found it useful đŸ™‚

  2. hi
    i may be stupid but i can’t figure out how to make it work… do i have to select my object? cause i tried different ways to run it but always have an error message
    ” erreur de type: l’appel nĂ©cessite une fonction ou une classe”

    • Hi, selecting your object is not required.
      How are you running the script?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: