Notifications
Clear all
[Closed] select all even numbered polygons
Feb 06, 2008 1:23 am
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
Feb 06, 2008 1:23 am
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
Feb 06, 2008 1:23 am
Thankyou that works like a charm. It’s got me thinking about random faces now.
Feb 06, 2008 1:23 am
$.selectedFaces = (for f in $.faces as bitarray where (random 0.0 100.0) > 50.0 collect f)
Works for either poly or mesh objects.