Created
October 30, 2016 23:27
-
-
Save enzyme69/10c0886b087ecafe2779d990e089f2e6 to your computer and use it in GitHub Desktop.
AN Script Node to Get Pose Bones As List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# INPUT | |
# - Object "Armature" | |
# OUTPUT | |
# - Object List (Pose Bone List) | |
# get bones | |
posebones = Armature.pose.bones | |
# create list of bones | |
listofbones = [] | |
for bone in posebones: | |
listofbones.append(bone) | |
ObjectList = listofbones |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment