How to create a bmesh from a list of vertices

Viewed 4522

In blender i can make a mesh "me" from a list of vertices like that:

me = bpy.data.meshes.new("name") 
me.from_pydata(vertices,[],[])

But this function does not exist for a bmesh. What i would like to do is

bme=bmesh.new()
bme.from_pydata(vertices,[],[])

How can i achieve this?

1 Answers
Related