Khai-J-Bach opened this issue on Aug 27, 2010 ยท 1684 posts
odf posted Sat, 28 August 2010 at 5:02 AM Online Now!
Quote - 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).
This should now be fixed in the latest version up on http://github.com/odf/pydough.
If you could test it with the object that gave you trouble before, that would be very much appreciated.
-- I'm not mad at you, just Westphalian.