Notifications
Clear all
[Closed] getting the volume selection selected vertex
Jan 03, 2012 10:16 am
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
Jan 03, 2012 10:16 am
You could try using:
$‘Your Object Name’.mesh.selectedVerts as bitarray
which should return a bit array of the verts selected with the modifier.
Jan 03, 2012 10:16 am
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
Jan 03, 2012 10:16 am
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