ScriptSpot

Forum topic · General Scripting

Selecting a group of vertex from an array

By PIXandDOTS · 2016-02-08

Description

Hi there

I have made an array holding a group of vertex (the vertex number)

Now I would like to use the same array to select these vertex, but how do I do that?

Regards
- David

Comments (2)

.

miauu · 2016-02-09

For editable poly opbjects:


selObj = selection[1]
vertBitArr = #{1..5,8..10}
polyop.setVertSelection selObj vertBitArr 

PIXandDOTS · 2016-02-09

Thanx miauu, is there a way to append vertex selection to a bitArray?

- David

FOUND THE ANSWER "append" :)