Notifications
Clear all

[Closed] Selecting elements in an editable poly

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 [size=2][color=darkorange]polyOp.getElementsUsingFace [/color][/size]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.

2 Replies

anticz,

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.

Cheers,

Mike,

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

Light