I´ve unsuccessfully been trying to extract the material name, which is associated with my mesh surfaces. I can get my hands on the individual material names with:
import scriptcontext as sc
sc.doc = Rhino.RhinoDoc.ActiveDoc
mat1 = sc.doc.Materials
However, I still don´t know, which faces feature this material.
Maybe you have some hints ? In the end, I need a list with my vertices per face (which I could get to work) and the associated material.
Thank you guys very much !