On 20/06/2015 at 17:52, xxxxxxxx wrote:
Hi, I try to get the count of selected Polygons. I have expected this to work:
SelPolycount=len(op.GetPolygonS())
But that gives an error. Is there a simple solution?
On 20/06/2015 at 17:52, xxxxxxxx wrote:
Hi, I try to get the count of selected Polygons. I have expected this to work:
SelPolycount=len(op.GetPolygonS())
But that gives an error. Is there a simple solution?
On 21/06/2015 at 15:02, xxxxxxxx wrote:
Hello,
GetPolygonS() does not return an array but an object of the type BaseSelect. You can use this object to change the selection or to get the number of selected elements.
best wishes,
Sebastian
On 21/06/2015 at 15:46, xxxxxxxx wrote:
I think that's exactly what he is trying to do, Sebastian :)
There's a GetCount() member in the BaseSelect class.