Q: In Blender 2.64, I have a mesh in edit mode with some vertices selected. How can I get or generate a list of indices of the selected vertices in a Python script?
I find the Blender Python API reference utterly confusing to navigate, and Google mostly points to outdated APIs. This is hopefully trivial for the Blender scripting pros.
The indices should be consistent with the vertex indices in an OBJ export of the mesh. I want to write a script exporting the vertex indices in a text file in order to access these vertices in a C++ program.