📋 Metadata
- Author: draguu
- Date: 2016-07-23 22:56:16
- Type:
question - Reply to: post_00213
- Replies (1): post_00218
💬 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 )