I’m completly new to python Scripting, and I’m trying to rename all my textures with a shortest name.
so far I have:
import rhinoscriptsyntax as rs import Rhino import scriptcontext import System.Drawing #I don't understand what I should place here :arrow_down: mat = scriptcontext.doc.Materials.Find(self.MaterialTable, materialName="complexe name material") if mat rs.MaterialName(mat,"1")`
As I said I’m a total beginner. I don’t understand what the first argument should be in the Materials.Find()