Khai-J-Bach opened this issue on Aug 27, 2010 ยท 1684 posts
Dizzi posted Fri, 27 August 2010 at 10:35 PM
odf: to solve my problem, it was sufficient to adjust your code like that (the other code from the other thread wasn't really necessary):
nr_tpolys = sum([len(actor.Geometry().TexPolygons())
for actor in actors if actor.Geometry().TexPolygons()])
This prop just returns 'None' for TexPolygons() (and 0 for the NumTex... methods).