say I want to select geometries that have more than X amount of
vertices. Using some kind of logic like this
select geometry where vertex count 1
Is this doable? I can think of a way to cycle through all geometries
and check their vertices but wondering if there's a better way.
--
view
As far as I know, maya's database doesn't index all geometry vertex counts in a
way that you can filter select on it. The API selection mechanism only lets you
select on name patterns and then filter on type. And the python commands wrap
around that to add more type filtering.
I believe your
Justin,
thank you for your example. I never knew you can put a for loop right
inside a list.
I was looking for a faster alternative because it's such a big set
with up to a thousand geometries all imported into the scene. But for
my purposes, a normal loop would do too.
The set was provided by