Hi all:) I have simple/stupid question.I would like to animate location Z one of vertex in mesh.
I would say that i must use a bpy.ops.mesh.select_by_number_vertices() to choose that one i need
I was trying example from blender.org.
“bpy.ops.mesh.select_by_number_vertices(number=4, type=‘EQUAL’)”
All the time I have error.
TypeError: Converting py args to operator properties: : keyword “number” unrecognized
I thought that “number” isn’t defined.
when i tried write only digit i got another error but it tell me that i need a dict,excellent.
What i made later can be completely stupid but i tried
number={}
number[“1”]=1
and i wrote
“bpy.ops.mesh.select_by_number_vertices(number[“1”], type=‘EQUAL’)”
I thught that it can work but it didn’t.
In fact i perfectly know that it can’t be working properly.
That would’t have any sense because if object has a lot of vertex it would be necessary to make a loop to make a dictionary.
But it was the last idea i had.
Back to the topic.
My question is how the hell i should make it?
It would be great if anyone could help me:)