FrankD
Ansys Employee

Texture info is in the Core API and documented, but read-only. 


Here’s an example of reading for a text on a face:



 


Test code:


# Python Script, API Version = V18 Beta


desFace = Window.ActiveWindow.ActiveContext.SingleSelection


material = desFace.SurfaceMaterial


 


print material.FileName


print material.TextureAngle


 


Output:


print material.FileName


C:Users*******Picturesm3-blackprint-wallpaper-dimmer.png


print material.TextureAngle


0.785398163397