View Full Version : Selecting elements in an editable poly

02-08-2006, 07:14 AM
I'm trying to come up with a method of selecting all the vertices in each element in an editable poly object one at a time to pass this up to a skin modifer so I can assign weights to a specific bone for each element. Once I have a valid bit array for an element it's easy enough to assign the wieghts. The problem is figuring out how to get each element's vertex bit array in turn. I'm completely perplexed. Is there a method to select elements? I found the polyOp.getElementsUsingFace method but I'm at a loss as to how to go about iterating though an object to get each element as a vertex bit array in turn. Any clues would be greatly appreciated.

02-08-2006, 08:58 AM

you will probably need to use getVertsUsingFace to change the face selection to a vertex selection.
There are plenty of other tools there to change edges, vertices, faces, to other types of selections.


02-08-2006, 12:43 PM

You can also use Cycle Elements ( which selects elements by cycling through all elements in the currently selected poly object.


CGTalk Moderation
02-08-2006, 12:43 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.