Notifications
Clear all

[Closed] select all even numbered polygons

I need a maxscript to select all even numbered polygons, could someone be so kind as to show me how this is written.

4 Replies

for editable mesh:

setFaceSelection $ (for i = 2 to $.numFaces by 2 collect i)

for editable poly:

polyOp.setFaceSelection $ (for i = 2 to $.numFaces by 2 collect i)

hOpe this helps,
o

Thankyou that works like a charm. It’s got me thinking about random faces now.

$.selectedFaces = (for f in $.faces as bitarray where (random 0.0 100.0) > 50.0 collect f)

Works for either poly or mesh objects.

i’ve been after this for awhile now, thanks Moosley.