Notifications
Clear all

[Closed] getting the volume selection selected vertex

i want to get the currently selected vertex via volume select tried adding an edit poly modifier and polyop.getvertselection method but invain , any ideas?

3 Replies

You could try using:

$‘Your Object Name’.mesh.selectedVerts as bitarray

which should return a bit array of the verts selected with the modifier.

thats fine but how about accessing that resulting array indexed member ?
what i got is just #(1 :Trimesh) for example which is hard times to get it

You need to convert the mesh vert array first to a bit array, then you can chnage it to an array if you need to:

($‘Your Object Name’.mesh.selectedVerts as bitarray) as array