📋 Metadata

💬 Content

Hi, you can try something like this:

O.pose.select_all(action='DESELECT'); bones = ["hand", "leg"]; [setattr(C.object.data.bones[b], "select", True) and bones.clear() for b in bones if b in C.object.data.bones]

Or same code in external file:

O.pose.select_all(action='DESELECT')
bones = ["hand", "leg"]
for b in bones:
    if b in C.object.data.bones:
        C.object.data.bones[b].select = True
        break

🔗 View on Blender Artists