BaseSelect.GetAll(), max ?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/06/2011 at 04:59, xxxxxxxx wrote:
Hy there,
when I tried to use the GetAll() method, it told me its missing a "max" value. This is not in the documentation.
My question is now, how do I set a meaningful value and why do I have to set one in the first place?
If I call that method, I just want a list of all the flags indicating which indexes are set in the selection. So why a maximum? The maximum is always exactly the amount of edges/points/polygons of the BaseSelect of my object.
But as I can't read out an edge count, I somehow have to calculate it, which seems non-trivial (no single call). Is that really necessary ?
Cheers,
maxx -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/06/2011 at 12:50, xxxxxxxx wrote:
The maximum is always exactly the amount of edges/points/polygons of the BaseSelect of my object.
Yes, the max value is the corresponding value of the max count. To get the edgecount take a look at the neighbor class.