Script for changing mapping type for all materials

Hi All :slight_smile:
Would anyone happen to have a script that will change the mapping type of all materials in a file to UV? I have some 300+ materials (imported from Rhino) where the default mapping is set to Box, but should be UV - and know nothing about Python :grimacing:
TIA, Jakob
EDIT If there’s even provision for changing things like mapping via scripting? :flushed:

You can change this via preferences - no need for a script

1 Like

i pointed claude.ai to the documentation for the keyshot scripting, and it is doing a pretty good job of explaining all the calls and options for the functions. i was messing with it the other day, and while it isn’t getting the syntax super accurate, having it define and explain all the options is going pretty well.