I have an array that is called
ccValids, which contains "good" center coordinates for the cylinders I want to create. These cylinders are created as follows:
for c in ccValids: leafs = bpy.ops.mesh.primitive_cylinder_add( location = c, enter_editmode = True ) bm = bmesh.new() bm.from_mesh(leafs)
It appears that the cylinders are created as one object, which is very good since there is a great number of them and they are all supposed to be manipulated by the exact same operations. However the
bmesh.new() command does not work.
The error I get is "Expected 'Mesh' found 'set' instead". Is there a way to use bmesh methods on my nicely gathered cylinders though?