📋 Metadata

💬 Content

one more question - i have made a script which select bones - suppose it has WXYZ bones i wrote a code something like this

C.object.data.bones[“W”].select = True ; C.object.data.bones[“X”].select = True ; C.object.data.bones[“Y”].select = True ; C.object.data.bones[“Z”].select = True

now i want it to check if this armature has X bone or not . it X bone does not exist in the armature then script should skip that bone and select rest of the bones ( which is W, Y and Z )


🔗 View on Blender Artists