Assigning Textures To all models in folder

I am trying to apply a texture called metal with an environment to ~1000 models and need to write a script to do so i’m pretty new to rhino script and would like someone to point me in the right direction.

@Hwodyhoody,

you might show a single file before / after state and post the image file. From your description it is unclear if you want to assign the texture as global environment map or as environment texture per object. If the latter is the case, how should a script know to which object the texture needs to be applied if there are multiple objects in the document ?

What is the purpose of the outcome ? Rendering ? Which renderengine ?

c.