📋 Metadata

💬 Content

Hi Roaoao. I have a small question about the pool methods :).
I asked for a while about pool methods in Vertex,Edge,Face which are amazing working in PME!

Like this:
“import bmesh; bm = bmesh.from_edit_mesh(C.object.data); num_sel_edges = len([e for e in bm.edges if e.select]); return C.scene.tool_settings.mesh_select_mode[1] and num_sel_edges == 0”

Is there also a pool method code for Object mode? Like

  • if 0 objects are separated
  • If 1 object is selected
  • if >1 object is selected

Thank you in advance!


🔗 View on Blender Artists