Getting the count of selected Polygons [SOLVED]
-
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. -
On 03/07/2015 at 09:39, xxxxxxxx wrote:
Hello holgar,
was your question answered?
Best wishes,
Sebastian -
On 08/07/2015 at 01:44, xxxxxxxx wrote:
Hi Sebastian. Sorry I forgot to answer. Yes, everthing is working now with GetCount and Baseselect.
Thanks.