I'm trying to select only faces with material ID = 1 in my object.
512 is the total number of the object
381 is the number of faces with mat ID = 2
131 is the number of faces with mat ID = 3
so I wrote this:
$.selectByMaterial 2
polyList = getFaceSelection $
print polyList.count
What I obtain is "512"...but with the object still selected, if I click the polygon subselection button, there are 381 faces selected.
So, where I'm wrong?
From Maxscript help:
getFaceSelection [ ] [name: ]
getFaceSelection
Retrieves the face selection set, or the specified named selection set if the optional name: parameter is specified, as a BitArray. See the getVertSelection() method for more information.
miauu · 2013-05-24