I would like to understand if it is possible to determine and how, through Python, which of the materials of the ob.data.materials
is really applied to the object of type Surface/Curve
This is my example The Brick material is what you see, while the other (Mat in this case) is not applied but is in the ob.data.materials
I would like to understand through Python how to check which material is really applied