1
$\begingroup$

When I select some meshes of my object by hand or with a script, the selection of some meshes "fades out". With "Select - Select More/Less - More) I can select these mesehs, too. But with a script I created a bmes to select my meshes and bpy.ops.mesh.select_more() leads to an error:

RuntimeError: Operator bpy.ops.object.select_more.poll() failed, context is incorrect

Is there an equivalent for this function with a bmesh?

$\endgroup$
0
$\begingroup$

I just needed to update the bmesh with some more parameters:

bmesh.update_edit_mesh(me, False, False)

See the reference: https://docs.blender.org/api/2.79/bmesh.html?highlight=update_edit_mesh#bmesh.update_edit_mesh

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.