Skip to content

Instantly share code, notes, and snippets.

@enzyme69
Created October 30, 2016 23:27
Show Gist options
  • Save enzyme69/10c0886b087ecafe2779d990e089f2e6 to your computer and use it in GitHub Desktop.
Save enzyme69/10c0886b087ecafe2779d990e089f2e6 to your computer and use it in GitHub Desktop.
AN Script Node to Get Pose Bones As List
# 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