accessing selected faces

(Charlls) #1


im aware of two related ways to access selected faces:

active =

AFAIK These methods are relevant only in face selct mode (F key)
the difference is that active return the last highlighted face while selected is a list of all possible faces that have been selected holding with shift-key

another difference is tha getActiveFace return and integer (an index) and selected is a list of faces


I cant seem to find a way to retrieve / compare occurences in selected with the ocurrences in the list of all faces Object…data.faces, any ideas?

The only solution i can find is to explicitly use the idex returned by active, but then i would have to use faces individually,

what do you think, this is just another hole to be filled when Blender gets OS, or there is actually a workaround for this?


(kos) #2

ask theeth.