Post #216: one more question - i have made a script which select bones - suppose it has WXY
š Metadata
- Author: draguu
- Date: 2016-07-23 22:56:16
- Type:
question - Quality Score: 6/10
- Reply to: post_00213
- Replies (1): post_00218
š·ļø Tags
macro python-scripting beginner unsolved
āļø Related PME Features
- Macro Editor
- Python Scripting
š¬ 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 )