do you know how I can iterate through all the vertices of a mesh, and add a new Empty object as a hook to them via using a script? Like you would do by clicking on them in Edit Mode and then pressing Ctrl+H.
I'm trying to achieve this by the following code unsuccessfully so far:
# I import the bpy and do various things here which work, but the below one doesn't
current_obj = bpy.context.object
for vert in current_obj.data.vertices:
vert.hook_add_newob()
Thank you for the support in advance!